(self.webpackChunkcgbetbook=self.webpackChunkcgbetbook||[]).push([[179],{2236:(kt,$e,V)=>{"use strict";V.d($e,{u:()=>r});var r=(()=>{return(L=r||(r={})).Manager="manager",L.Client="user",L.Admin="admin",r;var L})()},8615:(kt,$e,V)=>{"use strict";V.d($e,{s:()=>Pe});var r=V(529),L=V(2843),se=V(2340),de=V(1782),ve=V(262),Oe=V(1571);let Pe=(()=>{class pe{constructor(ae,we){this.http=ae,this.authService=we,this.ckeditorImageSize=0,this.refreshTokenInProgress=!1,this.handleError=xe=>(this.debug&&console.error(xe),(0,L._)(xe)),this.debug=!se.N.production}authenticate(ae,we,xe){return this.post("auth/signin",{username:ae,password:we,client_id:se.N.apiClientId,client_secret:se.N.apiClientSecret})}changePassword(ae,we){return this.http.post(`${se.N.apiEndPoint}/${ae}`,we,this.tempHeader()).pipe((0,ve.K)(this.handleError))}list(ae,we,xe,vt,Ue,tt={},Ae=null){let lt=new r.LE({fromObject:tt});return lt=lt.append("limit",we.toString()),xe&&(lt=lt.append("offset",xe.toString())),vt&&(lt=lt.append("sort",vt)),Ue&&(lt=lt.append("direction",Ue)),Ae&&(lt=lt.append("query",Ae)),this.http.get(`${se.N.apiEndPoint}/${ae}`,{params:lt}).pipe((0,ve.K)(this.handleError))}get(ae){return this.http.get(`${se.N.apiEndPoint}/${ae}`,this.myHeader()).pipe((0,ve.K)(this.handleError))}post(ae,we){return this.http.post(`${se.N.apiEndPoint}/${ae}`,we,this.myHeader()).pipe((0,ve.K)(this.handleError))}patch(ae,we){return this.http.patch(`${se.N.apiEndPoint}/${ae}`,we).pipe((0,ve.K)(this.handleError))}delete(ae){return this.http.delete(`${se.N.apiEndPoint}/${ae}`).pipe((0,ve.K)(this.handleError))}myHeader(){let ae=new r.WM;return ae=ae.append("Content-Type","application/json; charset=utf-8"),ae=ae.append("Authorization","Token "+this.authService.getAccessToken()),ae=ae.append("_id",this.authService.getAccessId()),{headers:ae}}tempHeader(){let ae=localStorage.getItem("tempToken"),we=localStorage.getItem("tempId"),xe=new r.WM;return xe=xe.append("Content-Type","application/json; charset=utf-8"),xe=xe.set("authorization","Token "+ae),xe=xe.set("_id",we),{headers:xe}}static#e=this.\u0275fac=function(we){return new(we||pe)(Oe.LFG(r.eN),Oe.LFG(de.e))};static#t=this.\u0275prov=Oe.Yz7({token:pe,factory:pe.\u0275fac})}return pe})()},1847:(kt,$e,V)=>{"use strict";V.d($e,{P:()=>de});var r=V(1782),L=V(1571),se=V(8869);let de=(()=>{class ve{constructor(Pe,pe){this.authService=Pe,this.router=pe}canActivate(Pe,pe){if(this.authService.isAuthenticated()&&!this.getUserFirstLogin()&&"/change-password"!=pe.url&&"/admin/change-password"!=pe.url)return this.redirectUserRoute("/change-password"),!0;if(this.authService.isAuthenticated())return this.checkUserLogin(Pe,pe.url);try{if("admin"==pe.url.split("/")[1])return this.router.navigate(["login"]),!1}catch{this.router.navigate(["/login"])}return this.router.navigate(["/login"]),!1}checkUserLogin(Pe,pe){const ke=this.authService.getRoles();return"user"==Pe.data.role||"manager"==Pe.data.role?(Pe.data.role&&-1===Pe.data.role.indexOf(ke[0])&&this.redirectUserRoute(),!0):("admin"==Pe.data.role&&(this.authService.isAdmin()||this.redirectUserRoute()),!0)}getRole(){return this.authService.getRoles()}getUserFirstLogin(){const Pe=this.authService.getUser();return!Pe||Pe?.firstLogin}redirectUserRoute(Pe=null){const pe=this.authService.getRoles();if("user"==pe[0]){if(null!=Pe)return void this.router.navigate([Pe]);this.router.navigate(["/home"])}else if("manager"==pe[0]){if(null!=Pe)return void this.router.navigate(["/manager"+Pe]);this.router.navigate(["/manager"])}else{if(null!=Pe)return void this.router.navigate(["/admin"+Pe]);this.router.navigate(["/admin"])}}static#e=this.\u0275fac=function(pe){return new(pe||ve)(L.LFG(r.e),L.LFG(se.F0))};static#t=this.\u0275prov=L.Yz7({token:ve,factory:ve.\u0275fac})}return ve})()},1782:(kt,$e,V)=>{"use strict";V.d($e,{e:()=>ve});var r=V(1135),L=V(7932),se=V(1571),de=V(8869);let ve=(()=>{class Oe{constructor(pe,ke){this.router=pe,this.socketService=ke,this.loader=new r.X(!1),this.refresher=new r.X(!1),this.user=new r.X(null),this.isLoggedInSubject=new r.X(this.isAuthenticated()),this.showMainPanel=!1;const ae=localStorage.getItem("token");ae&&(this.token=ae);const we=localStorage.getItem("user");if(we){const xe=JSON.parse(we);xe&&this.setUser(xe)}this.isLoggedInSubject.next(this.isAuthenticated())}isLoggedIn(){return this.isLoggedInSubject.asObservable()}getLoader(){return this.loader.getValue()}setLoader(pe){this.loader.next(pe)}setRefresher(pe){this.refresher.next(pe)}setToken(pe){this.token=pe,localStorage.setItem("token",pe),this.isLoggedInSubject.next(!0),this.isAuthenticated()&&this.updateTitleOnLogin()}updateTitleOnLogin(){document.title="RUN999.LIVE"}setTempUser(pe){localStorage.setItem("tempToken",pe.token),localStorage.setItem("tempId",pe._id)}getAccessToken(){return this.token?this.token:null}getAccessId(){const pe=this.user.getValue();return pe?pe._id:""}getRefreshToken(){return this.token?this.token:null}getJWTToken(){return this.token?this.token:null}isAuthenticated(){return null!=this.token}setUser(pe){this.user.next(pe),localStorage.setItem("user",JSON.stringify({_id:pe._id,displayName:pe.displayName,firstName:pe.firstName,lastName:pe.lastName,username:pe?.username,email:pe.email,phone:pe.phone,roles:pe.roles,balance:pe.balance,credit:pe.credit,exposerLimit:pe.exposerLimit,profitLossBalance:pe.profitLossBalance,profitLossCredit:pe.profitLossCredit,upBalance:pe.upBalance,upCredit:pe.upCredit,betStatus:pe.betStatus,firstLogin:pe.firstLogin,status:pe.status,numeric_id:pe.numeric_id,loginCount:pe.loginCount,rummyToken:pe.rummyToken})),pe.fixedBetLabel&&localStorage.setItem("fixedBetLabel",JSON.stringify(pe.fixedBetLabel)),pe.sportsData&&localStorage.setItem("sports_data",JSON.stringify(pe.sportsData))}getRoles(){return this.user.getValue().roles}getRole(){const pe=localStorage.getItem("user");if(pe){const ke=JSON.parse(pe);if(ke)return ke.roles[0]}}isAdmin(){let pe=this.getRole();return"manager"==pe||"admin"==pe||"hyper-hyper"==pe||"hyper"==pe||"super-super"==pe||"super-master"==pe||"master"==pe}userSubscription(){return this.user.asObservable()}getUser(){return this.user.getValue()}logout(pe=""){localStorage.removeItem("token"),localStorage.removeItem("user"),this.token=null,this.user.next(null),this.socketService.disconnect(),this.isLoggedInSubject.next(!1),pe&&this.router.navigate([pe])}getUsername(){const pe=this.user.getValue();return pe?pe?.username:null}getUserFirstLogin(){const pe=this.user.getValue();return!pe||pe?.firstLogin}setShowMainPanel(){this.showMainPanel=!this.showMainPanel}getShowMainPanel(){return this.showMainPanel}static#e=this.\u0275fac=function(ke){return new(ke||Oe)(se.LFG(de.F0),se.LFG(L.$))};static#t=this.\u0275prov=se.Yz7({token:Oe,factory:Oe.\u0275fac})}return Oe})()},8538:(kt,$e,V)=>{"use strict";V.d($e,{K:()=>L});var r=V(1571);let L=(()=>{class se{constructor(){}downloadFile(ve,Oe="data",Pe=[]){let pe=this.ConvertToCSV(ve,Pe),ke=new Blob(["\ufeff"+pe],{type:"text/csv;charset=utf-8;"}),ae=document.createElement("a"),we=URL.createObjectURL(ke);-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&ae.setAttribute("target","_blank"),ae.setAttribute("href",we),ae.setAttribute("download",Oe+".csv"),ae.style.visibility="hidden",document.body.appendChild(ae),ae.click(),document.body.removeChild(ae)}ConvertToCSV(ve,Oe){let Pe="object"!=typeof ve?JSON.parse(ve):ve,pe="",ke="S.No,";for(let ae in Oe)ke+=Oe[ae]+",";ke=ke.slice(0,-1),pe+=ke+"\r\n";for(let ae=0;ae{"use strict";V.d($e,{e:()=>pe});var r=V(1135),L=V(8615),se=V(1782),de=V(2340),ve=V(9104),Pe=V(1571);let pe=(()=>{class ke{constructor(we,xe){this.auth=we,this.api=xe,this.unreadMessagesCount=new r.X(0),this.recentMessages=new r.X([]),this.unreadNotificationCount=new r.X(0)}setUnreadMessageCount(we){this.unreadMessagesCount.next(we)}setRecentMessages(we){this.recentMessages.next(we)}getUnreadMessageCount(){return this.unreadMessagesCount.asObservable()}getRecentMessages(){return this.recentMessages.asObservable()}setUnreadNotificationCount(we){this.unreadNotificationCount.next(we)}getUnreadNotificationCount(){return this.unreadNotificationCount.asObservable()}decreaseUnreadNotificationCount(we){const xe=this.unreadNotificationCount.getValue()-we;this.unreadNotificationCount.next(xe>=0?xe:0)}subscribeToEvents(){const we=new URL(de.N.subscriptionUrl);we.searchParams.append("topic",de.N.messageTopic),we.searchParams.append("topic",de.N.notificationTopic),this.eventSource=new ve.EventSourcePolyfill(`${we}`,{heartbeatTimeout:36e5,headers:{Authorization:`Bearer ${this.auth.getJWTToken()}`}}),this.eventSource.onmessage=xe=>{const vt=JSON.parse(xe.data);"message_count"===vt.type?this.setUnreadMessageCount(parseInt(vt.count,10)):"notification_count"===vt.type&&this.setUnreadNotificationCount(parseInt(vt.count,10))}}unsubscribeFromEvents(){this.eventSource&&(this.eventSource.close(),this.setUnreadMessageCount(0),this.setUnreadNotificationCount(0))}static#e=this.\u0275fac=function(xe){return new(xe||ke)(Pe.LFG(se.e),Pe.LFG(L.s))};static#t=this.\u0275prov=Pe.Yz7({token:ke,factory:ke.\u0275fac})}return ke})()},7932:(kt,$e,V)=>{"use strict";V.d($e,{$:()=>qr});var r={};V.r(r),V.d(r,{Decoder:()=>xt,Encoder:()=>We,PacketType:()=>X,protocol:()=>Y});var L=V(9751);const se=Object.create(null);se.open="0",se.close="1",se.ping="2",se.pong="3",se.message="4",se.upgrade="5",se.noop="6";const de=Object.create(null);Object.keys(se).forEach(K=>{de[se[K]]=K});const ve={type:"error",data:"parser error"},Oe="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Pe="function"==typeof ArrayBuffer,pe=K=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(K):K&&K.buffer instanceof ArrayBuffer,ke=({type:K,data:B},I,H)=>Oe&&B instanceof Blob?I?H(B):ae(B,H):Pe&&(B instanceof ArrayBuffer||pe(B))?I?H(B):ae(new Blob([B]),H):H(se[K]+(B||"")),ae=(K,B)=>{const I=new FileReader;return I.onload=function(){const H=I.result.split(",")[1];B("b"+(H||""))},I.readAsDataURL(K)};function we(K){return K instanceof Uint8Array?K:K instanceof ArrayBuffer?new Uint8Array(K):new Uint8Array(K.buffer,K.byteOffset,K.byteLength)}let xe;const Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let K=0;K{if("string"!=typeof K)return{type:"message",data:me(K,B)};const I=K.charAt(0);return"b"===I?{type:"message",data:Mt(K.substring(1),B)}:de[I]?K.length>1?{type:de[I],data:K.substring(1)}:{type:de[I]}:ve},Mt=(K,B)=>{if(Xe){const I=(K=>{let H,rt,Bt,Rn,wn,B=.75*K.length,I=K.length,le=0;"="===K[K.length-1]&&(B--,"="===K[K.length-2]&&B--);const dr=new ArrayBuffer(B),yr=new Uint8Array(dr);for(H=0;H>4,yr[le++]=(15&Bt)<<4|Rn>>2,yr[le++]=(3&Rn)<<6|63&wn;return dr})(K);return me(I,B)}return{base64:!0,data:K}},me=(K,B)=>"blob"===B?K instanceof Blob?K:new Blob([K]):K instanceof ArrayBuffer?K:K.buffer,ce=String.fromCharCode(30);let ut;function pt(K){return K.reduce((B,I)=>B+I.length,0)}function At(K,B){if(K[0].length===B)return K.shift();const I=new Uint8Array(B);let H=0;for(let le=0;le(K.hasOwnProperty(H)&&(I[H]=K[H]),I),{})}const Yn=hn.setTimeout,He=hn.clearTimeout;function Fe(K,B){B.useNativeTimers?(K.setTimeoutFn=Yn.bind(hn),K.clearTimeoutFn=He.bind(hn)):(K.setTimeoutFn=hn.setTimeout.bind(hn),K.clearTimeoutFn=hn.clearTimeout.bind(hn))}const ze=1.33;function fe(K){return"string"==typeof K?function Re(K){let B=0,I=0;for(let H=0,le=K.length;H=57344?I+=3:(H++,I+=4);return I}(K):Math.ceil((K.byteLength||K.size)*ze)}class Ge extends Error{constructor(B,I,H){super(B),this.description=I,this.context=H,this.type="TransportError"}}class qt extends st{constructor(B){super(),this.writable=!1,Fe(this,B),this.opts=B,this.query=B.query,this.socket=B.socket}onError(B,I,H){return super.emitReserved("error",new Ge(B,I,H)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(B){"open"===this.readyState&&this.write(B)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(B){const I=Lt(B,this.socket.binaryType);this.onPacket(I)}onPacket(B){super.emitReserved("packet",B)}onClose(B){this.readyState="closed",super.emitReserved("close",B)}pause(B){}createUri(B,I={}){return B+"://"+this._hostname()+this._port()+this.opts.path+this._query(I)}_hostname(){const B=this.opts.hostname;return-1===B.indexOf(":")?B:"["+B+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(B){const I=function te(K){let B="";for(let I in K)K.hasOwnProperty(I)&&(B.length&&(B+="&"),B+=encodeURIComponent(I)+"="+encodeURIComponent(K[I]));return B}(B);return I.length?"?"+I:""}}const et="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),fn=64,gt={};let Cn,Qt=0,jt=0;function Xt(K){let B="";do{B=et[K%fn]+B,K=Math.floor(K/fn)}while(K>0);return B}function J(){const K=Xt(+new Date);return K!==Cn?(Qt=0,Cn=K):K+"."+Xt(Qt++)}for(;jt{class K extends st{constructor(I,H){super(),Fe(this,H),this.opts=H,this.method=H.method||"GET",this.uri=I,this.data=void 0!==H.data?H.data:null,this.create()}create(){var I;const H=tn(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");H.xdomain=!!this.opts.xd;const le=this.xhr=new Ce(H);try{le.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){le.setDisableHeaderCheck&&le.setDisableHeaderCheck(!0);for(let rt in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(rt)&&le.setRequestHeader(rt,this.opts.extraHeaders[rt])}}catch{}if("POST"===this.method)try{le.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{le.setRequestHeader("Accept","*/*")}catch{}null===(I=this.opts.cookieJar)||void 0===I||I.addCookies(le),"withCredentials"in le&&(le.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(le.timeout=this.opts.requestTimeout),le.onreadystatechange=()=>{var rt;3===le.readyState&&(null===(rt=this.opts.cookieJar)||void 0===rt||rt.parseCookies(le)),4===le.readyState&&(200===le.status||1223===le.status?this.onLoad():this.setTimeoutFn(()=>{this.onError("number"==typeof le.status?le.status:0)},0))},le.send(this.data)}catch(rt){return void this.setTimeoutFn(()=>{this.onError(rt)},0)}typeof document<"u"&&(this.index=K.requestsCount++,K.requests[this.index]=this)}onError(I){this.emitReserved("error",I,this.xhr),this.cleanup(!0)}cleanup(I){if(!(typeof this.xhr>"u"||null===this.xhr)){if(this.xhr.onreadystatechange=wt,I)try{this.xhr.abort()}catch{}typeof document<"u"&&delete K.requests[this.index],this.xhr=null}}onLoad(){const I=this.xhr.responseText;null!==I&&(this.emitReserved("data",I),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}return K.requestsCount=0,K.requests={},K})();function Ot(){for(let K in Pt.requests)Pt.requests.hasOwnProperty(K)&&Pt.requests[K].abort()}typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",Ot):"function"==typeof addEventListener&&addEventListener("onpagehide"in hn?"pagehide":"unload",Ot,!1));const dt="function"==typeof Promise&&"function"==typeof Promise.resolve?B=>Promise.resolve().then(B):(B,I)=>I(B,0),Se=hn.WebSocket||hn.MozWebSocket,In=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),Sn={websocket:class Dt extends qt{constructor(B){super(B),this.supportsBinary=!B.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const B=this.uri(),I=this.opts.protocols,H=In?{}:tn(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(H.headers=this.opts.extraHeaders);try{this.ws=In?new Se(B,I,H):I?new Se(B,I):new Se(B)}catch(le){return this.emitReserved("error",le)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=B=>this.onClose({description:"websocket connection closed",context:B}),this.ws.onmessage=B=>this.onData(B.data),this.ws.onerror=B=>this.onError("websocket error",B)}write(B){this.writable=!1;for(let I=0;I{try{this.ws.send(rt)}catch{}le&&dt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const B=this.opts.secure?"wss":"ws",I=this.query||{};return this.opts.timestampRequests&&(I[this.opts.timestampParam]=J()),this.supportsBinary||(I.b64=1),this.createUri(B,I)}check(){return!!Se}},webtransport:class ft extends qt{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(B=>{this.onError("webtransport error",B)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(B=>{const I=function at(K,B){ut||(ut=new TextDecoder);const I=[];let H=0,le=-1,rt=!1;return new TransformStream({transform(Bt,Rn){for(I.push(Bt);;){if(0===H){if(pt(I)<1)break;const wn=At(I,1);rt=128==(128&wn[0]),le=127&wn[0],H=le<126?3:126===le?1:2}else if(1===H){if(pt(I)<2)break;const wn=At(I,2);le=new DataView(wn.buffer,wn.byteOffset,wn.length).getUint16(0),H=3}else if(2===H){if(pt(I)<8)break;const wn=At(I,8),dr=new DataView(wn.buffer,wn.byteOffset,wn.length),yr=dr.getUint32(0);if(yr>Math.pow(2,21)-1){Rn.enqueue(ve);break}le=yr*Math.pow(2,32)+dr.getUint32(4),H=3}else{if(pt(I)K){Rn.enqueue(ve);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),H=B.readable.pipeThrough(I).getReader(),le=function _t(){return new TransformStream({transform(K,B){!function vt(K,B){Oe&&K.data instanceof Blob?K.data.arrayBuffer().then(we).then(B):Pe&&(K.data instanceof ArrayBuffer||pe(K.data))?B(we(K.data)):ke(K,!1,I=>{xe||(xe=new TextEncoder),B(xe.encode(I))})}(K,I=>{const H=I.length;let le;if(H<126)le=new Uint8Array(1),new DataView(le.buffer).setUint8(0,H);else if(H<65536){le=new Uint8Array(3);const rt=new DataView(le.buffer);rt.setUint8(0,126),rt.setUint16(1,H)}else{le=new Uint8Array(9);const rt=new DataView(le.buffer);rt.setUint8(0,127),rt.setBigUint64(1,BigInt(H))}K.data&&"string"!=typeof K.data&&(le[0]|=128),B.enqueue(le),B.enqueue(I)})}})}();le.readable.pipeTo(B.writable),this.writer=le.writable.getWriter();const rt=()=>{H.read().then(({done:Rn,value:wn})=>{Rn||(this.onPacket(wn),rt())}).catch(Rn=>{})};rt();const Bt={type:"open"};this.query.sid&&(Bt.data=`{"sid":"${this.query.sid}"}`),this.writer.write(Bt).then(()=>this.onOpen())})}))}write(B){this.writable=!1;for(let I=0;I{le&&dt(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var B;null===(B=this.transport)||void 0===B||B.close()}},polling:class Ht extends qt{constructor(B){if(super(B),this.polling=!1,typeof location<"u"){const H="https:"===location.protocol;let le=location.port;le||(le=H?"443":"80"),this.xd=typeof location<"u"&&B.hostname!==location.hostname||le!==B.port}this.supportsBinary=Je&&!(B&&B.forceBase64),this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(B){this.readyState="pausing";const I=()=>{this.readyState="paused",B()};if(this.polling||!this.writable){let H=0;this.polling&&(H++,this.once("pollComplete",function(){--H||I()})),this.writable||(H++,this.once("drain",function(){--H||I()}))}else I()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(B){((K,B)=>{const I=K.split(ce),H=[];for(let le=0;le{if("opening"===this.readyState&&"open"===H.type&&this.onOpen(),"close"===H.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(H)}),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const B=()=>{this.write([{type:"close"}])};"open"===this.readyState?B():this.once("open",B)}write(B){this.writable=!1,((K,B)=>{const I=K.length,H=new Array(I);let le=0;K.forEach((rt,Bt)=>{ke(rt,!1,Rn=>{H[Bt]=Rn,++le===I&&B(H.join(ce))})})})(B,I=>{this.doWrite(I,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const B=this.opts.secure?"https":"http",I=this.query||{};return!1!==this.opts.timestampRequests&&(I[this.opts.timestampParam]=J()),!this.supportsBinary&&!I.sid&&(I.b64=1),this.createUri(B,I)}request(B={}){return Object.assign(B,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Pt(this.uri(),B)}doWrite(B,I){const H=this.request({method:"POST",data:B});H.on("success",I),H.on("error",(le,rt)=>{this.onError("xhr post error",le,rt)})}doPoll(){const B=this.request();B.on("data",this.onData.bind(this)),B.on("error",(I,H)=>{this.onError("xhr poll error",I,H)}),this.pollXhr=B}}},un=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Xn=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function an(K){if(K.length>2e3)throw"URI too long";const B=K,I=K.indexOf("["),H=K.indexOf("]");-1!=I&&-1!=H&&(K=K.substring(0,I)+K.substring(I,H).replace(/:/g,";")+K.substring(H,K.length));let le=un.exec(K||""),rt={},Bt=14;for(;Bt--;)rt[Xn[Bt]]=le[Bt]||"";return-1!=I&&-1!=H&&(rt.source=B,rt.host=rt.host.substring(1,rt.host.length-1).replace(/;/g,":"),rt.authority=rt.authority.replace("[","").replace("]","").replace(/;/g,":"),rt.ipv6uri=!0),rt.pathNames=function or(K,B){const H=B.replace(/\/{2,9}/g,"/").split("/");return("/"==B.slice(0,1)||0===B.length)&&H.splice(0,1),"/"==B.slice(-1)&&H.splice(H.length-1,1),H}(0,rt.path),rt.queryKey=function qn(K,B){const I={};return B.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(H,le,rt){le&&(I[le]=rt)}),I}(0,rt.query),rt}let Sr=(()=>{class K extends st{constructor(I,H={}){super(),this.binaryType="arraybuffer",this.writeBuffer=[],I&&"object"==typeof I&&(H=I,I=null),I?(I=an(I),H.hostname=I.host,H.secure="https"===I.protocol||"wss"===I.protocol,H.port=I.port,I.query&&(H.query=I.query)):H.host&&(H.hostname=an(H.host).host),Fe(this,H),this.secure=null!=H.secure?H.secure:typeof location<"u"&&"https:"===location.protocol,H.hostname&&!H.port&&(H.port=this.secure?"443":"80"),this.hostname=H.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=H.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=H.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},H),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function Te(K){let B={},I=K.split("&");for(let H=0,le=I.length;H{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(I){const H=Object.assign({},this.opts.query);H.EIO=4,H.transport=I,this.id&&(H.sid=this.id);const le=Object.assign({},this.opts,{query:H,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[I]);return new Sn[I](le)}open(){let I;if(this.opts.rememberUpgrade&&K.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))I="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);I=this.transports[0]}this.readyState="opening";try{I=this.createTransport(I)}catch{return this.transports.shift(),void this.open()}I.open(),this.setTransport(I)}setTransport(I){this.transport&&this.transport.removeAllListeners(),this.transport=I,I.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",H=>this.onClose("transport close",H))}probe(I){let H=this.createTransport(I),le=!1;K.priorWebsocketSuccess=!1;const rt=()=>{le||(H.send([{type:"ping",data:"probe"}]),H.once("packet",sn=>{if(!le)if("pong"===sn.type&&"probe"===sn.data){if(this.upgrading=!0,this.emitReserved("upgrading",H),!H)return;K.priorWebsocketSuccess="websocket"===H.name,this.transport.pause(()=>{le||"closed"!==this.readyState&&(Ft(),this.setTransport(H),H.send([{type:"upgrade"}]),this.emitReserved("upgrade",H),H=null,this.upgrading=!1,this.flush())})}else{const xn=new Error("probe error");xn.transport=H.name,this.emitReserved("upgradeError",xn)}}))};function Bt(){le||(le=!0,Ft(),H.close(),H=null)}const Rn=sn=>{const xn=new Error("probe error: "+sn);xn.transport=H.name,Bt(),this.emitReserved("upgradeError",xn)};function wn(){Rn("transport closed")}function dr(){Rn("socket closed")}function yr(sn){H&&sn.name!==H.name&&Bt()}const Ft=()=>{H.removeListener("open",rt),H.removeListener("error",Rn),H.removeListener("close",wn),this.off("close",dr),this.off("upgrading",yr)};H.once("open",rt),H.once("error",Rn),H.once("close",wn),this.once("close",dr),this.once("upgrading",yr),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==I?this.setTimeoutFn(()=>{le||H.open()},200):H.open()}onOpen(){if(this.readyState="open",K.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let I=0;const H=this.upgrades.length;for(;I{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const I=this.getWritablePackets();this.transport.send(I),this.prevBufferLen=I.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let H=1;for(let le=0;le0&&H>this.maxPayload)return this.writeBuffer.slice(0,le);H+=2}return this.writeBuffer}write(I,H,le){return this.sendPacket("message",I,H,le),this}send(I,H,le){return this.sendPacket("message",I,H,le),this}sendPacket(I,H,le,rt){if("function"==typeof H&&(rt=H,H=void 0),"function"==typeof le&&(rt=le,le=null),"closing"===this.readyState||"closed"===this.readyState)return;(le=le||{}).compress=!1!==le.compress;const Bt={type:I,data:H,options:le};this.emitReserved("packetCreate",Bt),this.writeBuffer.push(Bt),rt&&this.once("flush",rt),this.flush()}close(){const I=()=>{this.onClose("forced close"),this.transport.close()},H=()=>{this.off("upgrade",H),this.off("upgradeError",H),I()},le=()=>{this.once("upgrade",H),this.once("upgradeError",H)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?le():I()}):this.upgrading?le():I()),this}onError(I){K.priorWebsocketSuccess=!1,this.emitReserved("error",I),this.onClose("transport error",I)}onClose(I,H){("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",I,H),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(I){const H=[];let le=0;const rt=I.length;for(;le"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(K):K.buffer instanceof ArrayBuffer,nt=Object.prototype.toString,Ze="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===nt.call(Blob),Et="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===nt.call(File);function Wt(K){return ie&&(K instanceof ArrayBuffer||ye(K))||Ze&&K instanceof Blob||Et&&K instanceof File}function pn(K,B){if(!K||"object"!=typeof K)return!1;if(Array.isArray(K)){for(let I=0,H=K.length;I=0&&K.num{return(K=X||(X={}))[K.CONNECT=0]="CONNECT",K[K.DISCONNECT=1]="DISCONNECT",K[K.EVENT=2]="EVENT",K[K.ACK=3]="ACK",K[K.CONNECT_ERROR=4]="CONNECT_ERROR",K[K.BINARY_EVENT=5]="BINARY_EVENT",K[K.BINARY_ACK=6]="BINARY_ACK",X;var K})();class We{constructor(B){this.replacer=B}encode(B){return B.type!==X.EVENT&&B.type!==X.ACK||!pn(B)?[this.encodeAsString(B)]:this.encodeAsBinary({type:B.type===X.EVENT?X.BINARY_EVENT:X.BINARY_ACK,nsp:B.nsp,data:B.data,id:B.id})}encodeAsString(B){let I=""+B.type;return(B.type===X.BINARY_EVENT||B.type===X.BINARY_ACK)&&(I+=B.attachments+"-"),B.nsp&&"/"!==B.nsp&&(I+=B.nsp+","),null!=B.id&&(I+=B.id),null!=B.data&&(I+=JSON.stringify(B.data,this.replacer)),I}encodeAsBinary(B){const I=rn(B),H=this.encodeAsString(I.packet),le=I.buffers;return le.unshift(H),le}}function It(K){return"[object Object]"===Object.prototype.toString.call(K)}class xt extends st{constructor(B){super(),this.reviver=B}add(B){let I;if("string"==typeof B){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");I=this.decodeString(B);const H=I.type===X.BINARY_EVENT;H||I.type===X.BINARY_ACK?(I.type=H?X.EVENT:X.ACK,this.reconstructor=new en(I),0===I.attachments&&super.emitReserved("decoded",I)):super.emitReserved("decoded",I)}else{if(!Wt(B)&&!B.base64)throw new Error("Unknown type: "+B);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");I=this.reconstructor.takeBinaryData(B),I&&(this.reconstructor=null,super.emitReserved("decoded",I))}}decodeString(B){let I=0;const H={type:Number(B.charAt(0))};if(void 0===X[H.type])throw new Error("unknown packet type "+H.type);if(H.type===X.BINARY_EVENT||H.type===X.BINARY_ACK){const rt=I+1;for(;"-"!==B.charAt(++I)&&I!=B.length;);const Bt=B.substring(rt,I);if(Bt!=Number(Bt)||"-"!==B.charAt(I))throw new Error("Illegal attachments");H.attachments=Number(Bt)}if("/"===B.charAt(I+1)){const rt=I+1;for(;++I&&","!==B.charAt(I)&&I!==B.length;);H.nsp=B.substring(rt,I)}else H.nsp="/";const le=B.charAt(I+1);if(""!==le&&Number(le)==le){const rt=I+1;for(;++I;){const Bt=B.charAt(I);if(null==Bt||Number(Bt)!=Bt){--I;break}if(I===B.length)break}H.id=Number(B.substring(rt,I+1))}if(B.charAt(++I)){const rt=this.tryParse(B.substr(I));if(!xt.isPayloadValid(H.type,rt))throw new Error("invalid payload");H.data=rt}return H}tryParse(B){try{return JSON.parse(B,this.reviver)}catch{return!1}}static isPayloadValid(B,I){switch(B){case X.CONNECT:return It(I);case X.DISCONNECT:return void 0===I;case X.CONNECT_ERROR:return"string"==typeof I||It(I);case X.EVENT:case X.BINARY_EVENT:return Array.isArray(I)&&("number"==typeof I[0]||"string"==typeof I[0]&&-1===he.indexOf(I[0]));case X.ACK:case X.BINARY_ACK:return Array.isArray(I)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class en{constructor(B){this.packet=B,this.buffers=[],this.reconPack=B}takeBinaryData(B){if(this.buffers.push(B),this.buffers.length===this.reconPack.attachments){const I=Mn(this.reconPack,this.buffers);return this.finishedReconstruction(),I}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function on(K,B,I){return K.on(B,I),function(){K.off(B,I)}}const er=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class pr extends st{constructor(B,I,H){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=B,this.nsp=I,H&&H.auth&&(this.auth=H.auth),this._opts=Object.assign({},H),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const B=this.io;this.subs=[on(B,"open",this.onopen.bind(this)),on(B,"packet",this.onpacket.bind(this)),on(B,"error",this.onerror.bind(this)),on(B,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...B){return B.unshift("message"),this.emit.apply(this,B),this}emit(B,...I){if(er.hasOwnProperty(B))throw new Error('"'+B.toString()+'" is a reserved event name');if(I.unshift(B),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(I),this;const H={type:X.EVENT,data:I,options:{}};if(H.options.compress=!1!==this.flags.compress,"function"==typeof I[I.length-1]){const Bt=this.ids++,Rn=I.pop();this._registerAckCallback(Bt,Rn),H.id=Bt}return this.flags.volatile&&(!(this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable)||!this.connected)||(this.connected?(this.notifyOutgoingListeners(H),this.packet(H)):this.sendBuffer.push(H)),this.flags={},this}_registerAckCallback(B,I){var H;const le=null!==(H=this.flags.timeout)&&void 0!==H?H:this._opts.ackTimeout;if(void 0===le)return void(this.acks[B]=I);const rt=this.io.setTimeoutFn(()=>{delete this.acks[B];for(let Bt=0;Bt{this.io.clearTimeoutFn(rt),I.apply(this,[null,...Bt])}}emitWithAck(B,...I){const H=void 0!==this.flags.timeout||void 0!==this._opts.ackTimeout;return new Promise((le,rt)=>{I.push((Bt,Rn)=>H?Bt?rt(Bt):le(Rn):le(Bt)),this.emit(B,...I)})}_addToQueue(B){let I;"function"==typeof B[B.length-1]&&(I=B.pop());const H={id:this._queueSeq++,tryCount:0,pending:!1,args:B,flags:Object.assign({fromQueue:!0},this.flags)};B.push((le,...rt)=>H!==this._queue[0]?void 0:(null!==le?H.tryCount>this._opts.retries&&(this._queue.shift(),I&&I(le)):(this._queue.shift(),I&&I(null,...rt)),H.pending=!1,this._drainQueue())),this._queue.push(H),this._drainQueue()}_drainQueue(B=!1){if(!this.connected||0===this._queue.length)return;const I=this._queue[0];I.pending&&!B||(I.pending=!0,I.tryCount++,this.flags=I.flags,this.emit.apply(this,I.args))}packet(B){B.nsp=this.nsp,this.io._packet(B)}onopen(){"function"==typeof this.auth?this.auth(B=>{this._sendConnectPacket(B)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(B){this.packet({type:X.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},B):B})}onerror(B){this.connected||this.emitReserved("connect_error",B)}onclose(B,I){this.connected=!1,delete this.id,this.emitReserved("disconnect",B,I)}onpacket(B){if(B.nsp===this.nsp)switch(B.type){case X.CONNECT:B.data&&B.data.sid?this.onconnect(B.data.sid,B.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case X.EVENT:case X.BINARY_EVENT:this.onevent(B);break;case X.ACK:case X.BINARY_ACK:this.onack(B);break;case X.DISCONNECT:this.ondisconnect();break;case X.CONNECT_ERROR:this.destroy();const H=new Error(B.data.message);H.data=B.data.data,this.emitReserved("connect_error",H)}}onevent(B){const I=B.data||[];null!=B.id&&I.push(this.ack(B.id)),this.connected?this.emitEvent(I):this.receiveBuffer.push(Object.freeze(I))}emitEvent(B){if(this._anyListeners&&this._anyListeners.length){const I=this._anyListeners.slice();for(const H of I)H.apply(this,B)}super.emit.apply(this,B),this._pid&&B.length&&"string"==typeof B[B.length-1]&&(this._lastOffset=B[B.length-1])}ack(B){const I=this;let H=!1;return function(...le){H||(H=!0,I.packet({type:X.ACK,id:B,data:le}))}}onack(B){const I=this.acks[B.id];"function"==typeof I&&(I.apply(this,B.data),delete this.acks[B.id])}onconnect(B,I){this.id=B,this.recovered=I&&this._pid===I,this._pid=I,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(B=>this.emitEvent(B)),this.receiveBuffer=[],this.sendBuffer.forEach(B=>{this.notifyOutgoingListeners(B),this.packet(B)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(B=>B()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:X.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(B){return this.flags.compress=B,this}get volatile(){return this.flags.volatile=!0,this}timeout(B){return this.flags.timeout=B,this}onAny(B){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(B),this}prependAny(B){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(B),this}offAny(B){if(!this._anyListeners)return this;if(B){const I=this._anyListeners;for(let H=0;H0&&K.jitter<=1?K.jitter:0,this.attempts=0}Kn.prototype.duration=function(){var K=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var B=Math.random(),I=Math.floor(B*this.jitter*K);K=1&Math.floor(10*B)?K+I:K-I}return 0|Math.min(K,this.max)},Kn.prototype.reset=function(){this.attempts=0},Kn.prototype.setMin=function(K){this.ms=K},Kn.prototype.setMax=function(K){this.max=K},Kn.prototype.setJitter=function(K){this.jitter=K};class Wr extends st{constructor(B,I){var H;super(),this.nsps={},this.subs=[],B&&"object"==typeof B&&(I=B,B=void 0),(I=I||{}).path=I.path||"/socket.io",this.opts=I,Fe(this,I),this.reconnection(!1!==I.reconnection),this.reconnectionAttempts(I.reconnectionAttempts||1/0),this.reconnectionDelay(I.reconnectionDelay||1e3),this.reconnectionDelayMax(I.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(H=I.randomizationFactor)&&void 0!==H?H:.5),this.backoff=new Kn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==I.timeout?2e4:I.timeout),this._readyState="closed",this.uri=B;const le=I.parser||r;this.encoder=new le.Encoder,this.decoder=new le.Decoder,this._autoConnect=!1!==I.autoConnect,this._autoConnect&&this.open()}reconnection(B){return arguments.length?(this._reconnection=!!B,this):this._reconnection}reconnectionAttempts(B){return void 0===B?this._reconnectionAttempts:(this._reconnectionAttempts=B,this)}reconnectionDelay(B){var I;return void 0===B?this._reconnectionDelay:(this._reconnectionDelay=B,null===(I=this.backoff)||void 0===I||I.setMin(B),this)}randomizationFactor(B){var I;return void 0===B?this._randomizationFactor:(this._randomizationFactor=B,null===(I=this.backoff)||void 0===I||I.setJitter(B),this)}reconnectionDelayMax(B){var I;return void 0===B?this._reconnectionDelayMax:(this._reconnectionDelayMax=B,null===(I=this.backoff)||void 0===I||I.setMax(B),this)}timeout(B){return arguments.length?(this._timeout=B,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(B){if(~this._readyState.indexOf("open"))return this;this.engine=new Sr(this.uri,this.opts);const I=this.engine,H=this;this._readyState="opening",this.skipReconnect=!1;const le=on(I,"open",function(){H.onopen(),B&&B()}),rt=Rn=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",Rn),B?B(Rn):this.maybeReconnectOnOpen()},Bt=on(I,"error",rt);if(!1!==this._timeout){const wn=this.setTimeoutFn(()=>{le(),rt(new Error("timeout")),I.close()},this._timeout);this.opts.autoUnref&&wn.unref(),this.subs.push(()=>{this.clearTimeoutFn(wn)})}return this.subs.push(le),this.subs.push(Bt),this}connect(B){return this.open(B)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const B=this.engine;this.subs.push(on(B,"ping",this.onping.bind(this)),on(B,"data",this.ondata.bind(this)),on(B,"error",this.onerror.bind(this)),on(B,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(B){try{this.decoder.add(B)}catch(I){this.onclose("parse error",I)}}ondecoded(B){dt(()=>{this.emitReserved("packet",B)},this.setTimeoutFn)}onerror(B){this.emitReserved("error",B)}socket(B,I){let H=this.nsps[B];return H?this._autoConnect&&!H.active&&H.connect():(H=new pr(this,B,I),this.nsps[B]=H),H}_destroy(B){const I=Object.keys(this.nsps);for(const H of I)if(this.nsps[H].active)return;this._close()}_packet(B){const I=this.encoder.encode(B);for(let H=0;HB()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(B,I){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",B,I),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const B=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const I=this.backoff.duration();this._reconnecting=!0;const H=this.setTimeoutFn(()=>{B.skipReconnect||(this.emitReserved("reconnect_attempt",B.backoff.attempts),!B.skipReconnect&&B.open(le=>{le?(B._reconnecting=!1,B.reconnect(),this.emitReserved("reconnect_error",le)):B.onreconnect()}))},I);this.opts.autoUnref&&H.unref(),this.subs.push(()=>{this.clearTimeoutFn(H)})}}onreconnect(){const B=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",B)}}const Hr={};function ri(K,B){"object"==typeof K&&(B=K,K=void 0);const I=function qe(K,B="",I){let H=K;I=I||typeof location<"u"&&location,null==K&&(K=I.protocol+"//"+I.host),"string"==typeof K&&("/"===K.charAt(0)&&(K="/"===K.charAt(1)?I.protocol+K:I.host+K),/^(https?|wss?):\/\//.test(K)||(K=typeof I<"u"?I.protocol+"//"+K:"https://"+K),H=an(K)),H.port||(/^(http|ws)$/.test(H.protocol)?H.port="80":/^(http|ws)s$/.test(H.protocol)&&(H.port="443")),H.path=H.path||"/";const rt=-1!==H.host.indexOf(":")?"["+H.host+"]":H.host;return H.id=H.protocol+"://"+rt+":"+H.port+B,H.href=H.protocol+"://"+rt+(I&&I.port===H.port?"":":"+H.port),H}(K,(B=B||{}).path||"/socket.io"),H=I.source,le=I.id;let wn;return B.forceNew||B["force new connection"]||!1===B.multiplex||Hr[le]&&I.path in Hr[le].nsps?wn=new Wr(H,B):(Hr[le]||(Hr[le]=new Wr(H,B)),wn=Hr[le]),I.query&&!B.query&&(B.query=I.queryKey),wn.socket(I.path,B)}Object.assign(ri,{Manager:Wr,Socket:pr,io:ri,connect:ri});var ci=V(2340),Yr=V(1571);let qr=(()=>{class K{constructor(){this.getMessages=()=>L.y.create(H=>{this.socket.on("matchOddsData",le=>{H.next(le)})}),this.getBookData=()=>L.y.create(I=>{this.socket.on("bookOddsData",H=>{I.next(H)})}),this.preInplayMatchSettings=I=>(this.socket.emit("preInplayMatchSettings",I),L.y.create(H=>{this.socket.on("preInplayMatchSettings",le=>{H.next(le)})})),this.getOrders=I=>(this.socket.emit("getorders",I),L.y.create(H=>{this.socket.on("getorders",le=>{H.next(le)})})),this.getSummaryOfMarkets=I=>(this.socket.emit("summerexposer",I),L.y.create(H=>{this.socket.on("summerexposer",le=>{H.next(le)})})),this.assetStatus=I=>(this.socket.emit("assetStatus",I),L.y.create(H=>{this.socket.on("assetStatus",le=>{H.next(le)})})),this.matchCount=I=>(this.socket.emit("getmatchcount",I),L.y.create(H=>{this.socket.on("getmatchcount",le=>{H.next(le)})})),this.inplayMatches=I=>(this.socket.emit("inplaymatches",I),L.y.create(H=>{this.socket.on("inplaymatches",le=>{H.next(le)})})),this.upcommingmatches=I=>(this.socket.emit("getupcommingmatches",I),L.y.create(H=>{this.socket.on("getupcommingmatches",le=>{H.next(le)})})),this.getUpcomingGrey=I=>(this.socket.emit("upcomminggrr",I),L.y.create(H=>{this.socket.on("upcomminggrr",le=>{H.next(le)})})),this.getUpcomingHorse=I=>(this.socket.emit("upcomminghr",I),L.y.create(H=>{this.socket.on("upcomminghr",le=>{H.next(le)})})),this.marketDisable=I=>(this.socket.emit("marketonoff",I),L.y.create(H=>{this.socket.on("marketonoff",le=>{H.next(le)})})),this.getSessionData=()=>L.y.create(H=>{this.socket.on("sessionData",le=>{H.next(le)})}),this.getScoreData=()=>L.y.create(I=>{this.socket.on("scorecardData",H=>{I.next(H)})}),this.updateFancyStatus=I=>(this.socket.emit("fancyStatus",I),L.y.create(H=>{this.socket.on("fancyStatus",le=>{H.next(le)})})),this.checkUserLogin=I=>(this.socket.emit("login",I),L.y.create(H=>{this.socket.on("logout",le=>{H.next(le)})})),this.multiMarketOdds=I=>{this.socket.emit("multimarket",I)},this.notificate=()=>{this.socket.emit("notificat")},this.rateUpdate=I=>{this.socket.emit("rates",I)},this.getFavourite=I=>{this.socket.emit("favoritematch",I)},this.saveFancyBook=I=>{this.socket.emit("savefancyandbookmaker",{matchId:I})},this.removeMultiMarketOdds=I=>{this.socket.emit("removemultimarket",I)},this.getMatchSuspendStatus=()=>L.y.create(I=>{this.socket.on("matchSuspendStatus",H=>{I.next(H)})}),this.deleteBets=I=>(this.socket.emit("deleteBetsOrders",I),L.y.create(H=>{this.socket.on("deleteBetsOrders",le=>{H.next(le)})})),this.findFancyFavorite=I=>{this.socket.emit("findFancyFavorite",I);let H=!1;return L.y.create(le=>{this.socket.on("findFancyFavorite",rt=>{!H&&!rt?.error&&(le.next(rt),H=!0)})})},this.socket=this.getSocket()}getSocket(){return this.socket||(this.socket=ri(ci.N.socketUrl,{timeout:1e4,transports:["websocket"]}),this.socket.on("connect",()=>{const I=this?.getNumericId();I?(this.socket.emit("connect_user",{userId:I}),console.log(`Connected with userId: ${I}`)):console.error("User ID not found; unable to emit connect_user.")})),this.socket}joinRoom(I,H,le,rt){this.socket.emit("joinRoom",{matchId:I,marketId:H,eventId:le,numeric_id:rt})}goal(I){return this.socket.emit("updateGoal",{numeric_id:I}),L.y.create(H=>{this.socket.on("updateGoal",le=>{H.next(le)})})}leaveRoom(I,H){this.socket.emit("leaveRoom",{matchId:I,marketId:H})}getUserDetails(I){let H=!1;return this.socket.emit("balance",I),new L.y(le=>{this.socket.on("balance",rt=>{H||(H=!0,le.next(rt))})})}getCasinoOrders(I){let H=!1;return this.socket.emit("bettingCasinoHistory",I),new L.y(le=>{this.socket.on("bettingCasinoHistory",rt=>{H||(H=!0,le.next(rt))})})}getUserId(){return JSON.parse(localStorage.getItem("user"))._id}getNumericId(){return JSON.parse(localStorage.getItem("user"))?.numeric_id}getRateData(){return new L.y(I=>{this.socket.on("rates",H=>{I.next(H)})})}getFancyRate(){return new L.y(I=>{this.socket.on("fancyrates",H=>{I.next(H)})})}getMarketDataUpdate(){return new L.y(I=>{this.socket.on("marketDataUpdate",H=>{I.next(H)})})}getFavouriteData(){return new L.y(I=>{this.socket.on("favoritematch",H=>{I.next(H)})})}getMultiMarketSummary(){return new L.y(I=>(this.socket.on("summmary",H=>{H&&H&&!0===H.status?I.next(H.data):I.error("Error: Invalid data structure or status is false")}),()=>{this.socket.off("summmary")}))}removeListener(I){this.socket.removeListener(I)}disconnect(){this.socket.removeAllListeners()}static#e=this.\u0275fac=function(H){return new(H||K)};static#t=this.\u0275prov=Yr.Yz7({token:K,factory:K.\u0275fac,providedIn:"root"})}return K})()},8918:(kt,$e,V)=>{"use strict";V.d($e,{m:()=>tt});var r=V(6895),L=V(8869);const se=[{label:"Afghanistan",value:"AF",dial_code:"+93"},{label:"\xc5land Islands",value:"AX",dial_code:"+358"},{label:"Albania",value:"AL",dial_code:"+355"},{label:"Algeria",value:"DZ",dial_code:"+213"},{label:"American Samoa",value:"AS",dial_code:"+1684"},{label:"Andorra",value:"AD",dial_code:"+376"},{label:"Angola",value:"AO",dial_code:"+244"},{label:"Anguilla",value:"AI",dial_code:"+1264"},{label:"Antarctica",value:"AQ",dial_code:"+672"},{label:"Antigua and Barbuda",value:"AG",dial_code:"+1268"},{label:"Argentina",value:"AR",dial_code:"+54"},{label:"Armenia",value:"AM",dial_code:"+374"},{label:"Aruba",value:"AW",dial_code:"+297"},{label:"Australia",value:"AU",dial_code:"+61"},{label:"Austria",value:"AT",dial_code:"+43"},{label:"Azerbaijan",value:"AZ",dial_code:"+994"},{label:"Bahamas",value:"BS",dial_code:"+1242"},{label:"Bahrain",value:"BH",dial_code:"+973"},{label:"Bangladesh",value:"BD",dial_code:"+880"},{label:"Barbados",value:"BB",dial_code:"+1246"},{label:"Belarus",value:"BY",dial_code:"+375"},{label:"Belgium",value:"BE",dial_code:"+32"},{label:"Belize",value:"BZ",dial_code:"+501"},{label:"Benin",value:"BJ",dial_code:"+229"},{label:"Bermuda",value:"BM",dial_code:"+1441"},{label:"Bhutan",value:"BT",dial_code:"+975"},{label:"Bolivia",value:"BO",dial_code:"+591"},{label:"Bonaire",value:"BQ",dial_code:"+599"},{label:"Bosnia and Herzegovina",value:"BA",dial_code:"+387"},{label:"Botswana",value:"BW",dial_code:"+267"},{label:"Brazil",value:"BR",dial_code:"+55"},{label:"Brunei",value:"BN",dial_code:"+673"},{label:"Bulgaria",value:"BG",dial_code:"+359"},{label:"Burkina Faso",value:"BF",dial_code:"+226"},{label:"Burundi",value:"BI",dial_code:"+257"},{label:"Cambodia",value:"KH",dial_code:"+855"},{label:"Cameroon",value:"CM",dial_code:"+237"},{label:"Canada",value:"CA",dial_code:"+1"},{label:"Cape Verde",value:"CV",dial_code:"+238"},{label:"Cayman Islands",value:"KY",dial_code:"+1345"},{label:"Central African Republic",value:"CF",dial_code:"+236"},{label:"Chad",value:"TD",dial_code:"+235"},{label:"Chile",value:"CL",dial_code:"+56"},{label:"China",value:"CN",dial_code:"+86"},{label:"Christmas Island",value:"CX",dial_code:"+61"},{label:"Cocos Islands",value:"CC",dial_code:"+61891"},{label:"Colombia",value:"CO",dial_code:"+57"},{label:"Comoros",value:"KM",dial_code:"+269"},{label:"Congo-Brazzaville",value:"CG",dial_code:"+242"},{label:"Congo-Kinshasa",value:"CD",dial_code:"+243"},{label:"Cook Islands",value:"CK",dial_code:"+682"},{label:"Costa Rica",value:"CR",dial_code:"+506"},{label:"C\xf4te d'Ivoire",value:"CI",dial_code:"+225"},{label:"Croatia",value:"HR",dial_code:"+385"},{label:"Cuba",value:"CU",dial_code:"+53"},{label:"Cura\xe7ao",value:"CW",dial_code:"+599"},{label:"Cyprus",value:"CY",dial_code:"+357"},{label:"Czech Republic",value:"CZ",dial_code:"+420"},{label:"Denmark",value:"DK",dial_code:"+45"},{label:"Djibouti",value:"DJ",dial_code:"+253"},{label:"Dominica",value:"DM",dial_code:"+767"},{label:"Dominican Republic",value:"DO",dial_code:"+809"},{label:"Ecuador",value:"EC",dial_code:"+593"},{label:"Egypt",value:"EG",dial_code:"+20"},{label:"El Salvador",value:"SV",dial_code:"+503"},{label:"Equatorial Guinea",value:"GQ",dial_code:"+240"},{label:"Eritrea",value:"ER",dial_code:"+291"},{label:"Estonia",value:"EE",dial_code:"+372"},{label:"Eswatini",value:"SZ",dial_code:"+268"},{label:"Ethiopia",value:"ET",dial_code:"+251"},{label:"Falkland Islands",value:"FK",dial_code:"+500"},{label:"Faroe Islands",value:"FO",dial_code:"+298"},{label:"Fiji",value:"FJ",dial_code:"+679"},{label:"Finland",value:"FI",dial_code:"+358"},{label:"France",value:"FR",dial_code:"+33"},{label:"French Guiana",value:"GF",dial_code:"+594"},{label:"French Polynesia",value:"PF",dial_code:"+689"},{label:"Gabon",value:"GA",dial_code:"+241"},{label:"Gambia",value:"GM",dial_code:"+220"},{label:"Georgia",value:"GE",dial_code:"+995"},{label:"Germany",value:"DE",dial_code:"+49"},{label:"Ghana",value:"GH",dial_code:"+233"},{label:"Gibraltar",value:"GI",dial_code:"+350"},{label:"Greece",value:"GR",dial_code:"+30"},{label:"Greenland",value:"GL",dial_code:"+299"},{label:"Grenada",value:"GD",dial_code:"+1473"},{label:"Guadeloupe",value:"GP",dial_code:"+590"},{label:"Guam",value:"GU",dial_code:"+1"},{label:"Guatemala",value:"GT",dial_code:"+502"},{label:"Guernsey",value:"GG",dial_code:"+44"},{label:"Guinea",value:"GN",dial_code:"+224"},{label:"Guinea-Bissau",value:"GW",dial_code:"+245"},{label:"Guyana",value:"GY",dial_code:"+592"},{label:"Haiti",value:"HT",dial_code:"+509"},{label:"Honduras",value:"HN",dial_code:"+504"},{label:"Hong Kong ",value:"HK",dial_code:"+852"},{label:"Hungary",value:"HU",dial_code:"+36"},{label:"Iceland",value:"IS",dial_code:"+354"},{label:"India",value:"IN",dial_code:"+91"},{label:"Indonesia",value:"ID",dial_code:"+62"},{label:"Iran",value:"IR",dial_code:"+98"},{label:"Iraq",value:"IQ",dial_code:"+964"},{label:"Ireland",value:"IE",dial_code:"+353"},{label:"Isle of Man",value:"IM",dial_code:"+44"},{label:"Israel",value:"IL",dial_code:"+972"},{label:"Italy",value:"IT",dial_code:"+39"},{label:"Jamaica",value:"JM",dial_code:"+876"},{label:"Japan",value:"JP",dial_code:"+81"},{label:"Jersey",value:"JE",dial_code:"+44"},{label:"Jordan",value:"JO",dial_code:"+962"},{label:"Kazakhstan",value:"KZ",dial_code:"+7"},{label:"Kenya",value:"KE",dial_code:"+254"},{label:"Kiribati",value:"KI",dial_code:"+686"},{label:"Kuwait",value:"KW",dial_code:"+965"},{label:"Kyrgyzstan",value:"KG",dial_code:"+996"},{label:"Laos",value:"LA",dial_code:"+856"},{label:"Latvia",value:"LV",dial_code:"+371"},{label:"Lebanon",value:"LB",dial_code:"+961"},{label:"Lesotho",value:"LS",dial_code:"+266"},{label:"Liberia",value:"LR",dial_code:"+231"},{label:"Libya",value:"LY",dial_code:"+218"},{label:"Liechtenstein",value:"LI",dial_code:"+423"},{label:"Lithuania",value:"LT",dial_code:"+370"},{label:"Luxembourg",value:"LU",dial_code:"+352"},{label:"Macao",value:"MO",dial_code:"+853"},{label:"Macedonia",value:"MK",dial_code:"+389"},{label:"Madagascar",value:"MG",dial_code:"+261"},{label:"Malawi",value:"MW",dial_code:"+265"},{label:"Malaysia",value:"MY",dial_code:"+60"},{label:"Maldives",value:"MV",dial_code:"+960"},{label:"Mali",value:"ML",dial_code:"+223"},{label:"Malta",value:"MT",dial_code:"+356"},{label:"Marshall Islands",value:"MH",dial_code:"+692"},{label:"Martinique",value:"MQ",dial_code:"+596"},{label:"Mauritania",value:"MR",dial_code:"+222"},{label:"Mauritius",value:"MU",dial_code:"+230"},{label:"Mayotte",value:"YT",dial_code:"+262"},{label:"Mexico",value:"MX",dial_code:"+52"},{label:"Micronesia",value:"FM",dial_code:"+691"},{label:"Moldova",value:"MD",dial_code:"+373"},{label:"Monaco",value:"MC",dial_code:"+377"},{label:"Mongolia",value:"MN",dial_code:"+976"},{label:"Montenegro",value:"ME",dial_code:"+382"},{label:"Montserrat",value:"MS",dial_code:"+1664"},{label:"Morocco",value:"MA",dial_code:"+212"},{label:"Mozambique",value:"MZ",dial_code:"+258"},{label:"Myanmar",value:"MM",dial_code:"+95"},{label:"Namibia",value:"NA",dial_code:"+264"},{label:"Nauru",value:"NR",dial_code:"+674"},{label:"Nepal",value:"NP",dial_code:"+977"},{label:"Netherlands",value:"NL",dial_code:"+31"},{label:"New Caledonia",value:"NC",dial_code:"+687"},{label:"New Zealand",value:"NZ",dial_code:"+64"},{label:"Nicaragua",value:"NI",dial_code:"+505"},{label:"Niger",value:"NE",dial_code:"+227"},{label:"Nigeria",value:"NG",dial_code:"+234"},{label:"Niue",value:"NU",dial_code:"+683"},{label:"Norfolk Island",value:"NF",dial_code:"+672"},{label:"Northern Mariana Islands",value:"MP",dial_code:"+1670"},{label:"North Korea",value:"KP",dial_code:"+850"},{label:"Norway",value:"NO",dial_code:"+47"},{label:"Oman",value:"OM",dial_code:"+968"},{label:"Pakistan",value:"PK",dial_code:"+92"},{label:"Palau",value:"PW",dial_code:"+680"},{label:"Palestine",value:"PS",dial_code:"+970"},{label:"Panama",value:"PA",dial_code:"+507"},{label:"Papua New Guinea",value:"PG",dial_code:"+675"},{label:"Paraguay",value:"PY",dial_code:"+595"},{label:"Peru",value:"PE",dial_code:"+51"},{label:"Philippines",value:"PH",dial_code:"+63"},{label:"Pitcairn",value:"PN",dial_code:"+64"},{label:"Poland",value:"PL",dial_code:"+48"},{label:"Portugal",value:"PT",dial_code:"+351"},{label:"Puerto Rico",value:"PR",dial_code:"+1"},{label:"Qatar",value:"QA",dial_code:"+974"},{label:"R\xe9union",value:"RE",dial_code:"+262"},{label:"Romania",value:"RO",dial_code:"+40"},{label:"Russia",value:"RU",dial_code:"+7"},{label:"Rwanda",value:"RW",dial_code:"+250"},{label:"Saint Barth\xe9lemy",value:"BL",dial_code:"+590"},{label:"Saint Helena-Ascension-Tristan",value:"SH",dial_code:"+290"},{label:"Saint Kitts and Nevis",value:"KN",dial_code:"+1869"},{label:"Saint Lucia",value:"LC",dial_code:"+1758"},{label:"Saint Martin-French",value:"MF",dial_code:"+1758"},{label:"Saint Pierre and Miquelon",value:"PM",dial_code:"+508"},{label:"Saint Vincent and the Grenadines",value:"VC",dial_code:"+1784"},{label:"Samoa",value:"WS",dial_code:"+685"},{label:"San Marino",value:"SM",dial_code:"+378"},{label:"Sao Tome and Principe",value:"ST",dial_code:"+239"},{label:"Saudi Arabia",value:"SA",dial_code:"+966"},{label:"Senegal",value:"SN",dial_code:"+221"},{label:"Serbia",value:"RS",dial_code:"+381"},{label:"Seychelles",value:"SC",dial_code:"+248"},{label:"Sierra Leone",value:"SL",dial_code:"+232"},{label:"Singapore",value:"SG",dial_code:"+65"},{label:"Sint Maarten-Dutch",value:"SX",dial_code:"+1721"},{label:"Slovakia",value:"SK",dial_code:"+421"},{label:"Slovenia",value:"SI",dial_code:"+386"},{label:"Solomon Islands",value:"SB",dial_code:"+677"},{label:"Somalia",value:"SO",dial_code:"+252"},{label:"South Africa",value:"ZA",dial_code:"+27"},{label:"South Georgia-Sandwich",value:"GS",dial_code:"+500"},{label:"South Korea",value:"KR",dial_code:"+82"},{label:"South Sudan",value:"SS",dial_code:"+211"},{label:"Spain",value:"ES",dial_code:"Spain"},{label:"Sri Lanka",value:"LK",dial_code:"+94"},{label:"Sudan",value:"SD",dial_code:"+249"},{label:"Suriname",value:"SR",dial_code:"+597"},{label:"Svalbard and Jan Mayen",value:"SJ",dial_code:"+47"},{label:"Sweden",value:"SE",dial_code:"+46"},{label:"Switzerland",value:"CH",dial_code:"+41"},{label:"Syria",value:"SY",dial_code:"+963"},{label:"Taiwan",value:"TW",dial_code:"+886"},{label:"Tajikistan",value:"TJ",dial_code:"+992"},{label:"Tanzania",value:"TZ",dial_code:"+255"},{label:"Thailand",value:"TH",dial_code:"+66"},{label:"Timor-Leste",value:"TL",dial_code:"+670"},{label:"Togo",value:"TG",dial_code:"+228"},{label:"Tokelau",value:"TK",dial_code:"+690"},{label:"Tonga",value:"TO",dial_code:"+676"},{label:"Trinidad and Tobago",value:"TT",dial_code:"+868"},{label:"Tunisia",value:"TN",dial_code:"+216"},{label:"Turkey",value:"TR",dial_code:"+90"},{label:"Turkmenistan",value:"TM",dial_code:"+993"},{label:"Turks and Caicos Islands",value:"TC",dial_code:"+1"},{label:"Tuvalu",value:"TV",dial_code:"+688"},{label:"Uganda",value:"UG",dial_code:"+256"},{label:"Ukraine",value:"UA",dial_code:"+380"},{label:"United Arab Emirates",value:"AE",dial_code:"+971"},{label:"United Kingdom",value:"GB",dial_code:"+44"},{label:"United States",value:"US",dial_code:"+1"},{label:"Uruguay",value:"UY",dial_code:"+598"},{label:"Uzbekistan",value:"UZ",dial_code:"+998"},{label:"Vanuatu",value:"VU",dial_code:"+678"},{label:"Venezuela",value:"VE",dial_code:"+58"},{label:"Viet Nam",value:"VN",dial_code:"+84"},{label:"Virgin Islands-British",value:"VG",dial_code:"+1284"},{label:"Virgin Islands-U.S.",value:"VI",dial_code:"+1"},{label:"Wallis and Futuna",value:"WF",dial_code:"+681"},{label:"Western Sahara",value:"EH",dial_code:"+212"},{label:"Yemen",value:"YE",dial_code:"+967"},{label:"Zambia",value:"ZM",dial_code:"+260"},{label:"Zimbabwe",value:"ZW",dial_code:"+263"}];var de=V(1571);let ve=(()=>{class Ae{transform(Xe){if(Xe){const Lt=se.find(Mt=>Mt.value===Xe);return Lt?Lt.label:""}return""}static#e=this.\u0275fac=function(Lt){return new(Lt||Ae)};static#t=this.\u0275pipe=de.Yjl({name:"country",type:Ae,pure:!0})}return Ae})();var Oe=V(433);function Pe(Ae,lt){if(1&Ae&&(de.ynx(0),de._UZ(1,"span",2),de.BQk()),2&Ae){const Xe=de.oxw();de.xp6(1),de.Q6J("innerHTML",Xe.i.text,de.oJD)}}function pe(Ae,lt){1&Ae&&de.GkF(0)}const ke=function(Ae){return{$implicit:Ae}};var ae=(()=>{return(Ae=ae||(ae={}))[Ae.ing=0]="ing",Ae[Ae.pause=1]="pause",Ae[Ae.stop=2]="stop",Ae[Ae.done=3]="done",ae;var Ae})();let we=(()=>{class Ae{constructor(Xe){this.ngZone=Xe,this.fns=[],this.commands=[],this.nextTime=0,this.ing=!1}start(){!0!==this.ing&&(this.ing=!0,this.nextTime=+new Date,this.ngZone.runOutsideAngular(()=>{this.process()}))}process(){for(;this.commands.length;)this.commands.shift()();let Xe=+new Date-this.nextTime;const Lt=1+Math.floor(Xe/100);Xe=100-Xe%100,this.nextTime+=100*Lt;for(let Mt=0,me=this.fns.length;Mt0&&this.fns[Mt](Ie),this.fns[Mt+1]=ce%20+1}}this.ing&&setTimeout(()=>this.process(),Xe)}add(Xe,Lt){return this.commands.push(()=>{this.fns.push(Xe),this.fns.push(1e3===Lt?1:0),this.ing=!0}),this}remove(Xe){return this.commands.push(()=>{const Lt=this.fns.indexOf(Xe);-1!==Lt&&this.fns.splice(Lt,2),this.ing=this.fns.length>0}),this}}return Ae.\u0275fac=function(Xe){return new(Xe||Ae)(de.LFG(de.R0b))},Ae.\u0275prov=de.Yz7({token:Ae,factory:Ae.\u0275fac}),Ae})(),xe=(()=>{class Ae{constructor(Xe){this.locale=Xe,this.demand=!1,this.leftTime=0,this.format="HH:mm:ss",this.timezone="+0000",this.formatDate=({date:Lt,formatStr:Mt,timezone:me})=>(0,r.p6)(new Date(Lt),Mt,this.locale,me||this.timezone||"+0000")}}return Ae.\u0275fac=function(Xe){return new(Xe||Ae)(de.LFG(de.soG))},Ae.\u0275prov=de.Yz7({token:Ae,factory:Ae.\u0275fac,providedIn:"root"}),Ae})(),vt=(()=>{class Ae{constructor(Xe,Lt,Mt,me,ce){this.locale=Xe,this.timer=Lt,this.defCog=Mt,this.cdr=me,this.ngZone=ce,this.frequency=1e3,this._notify={},this.status=ae.ing,this.isDestroy=!1,this.i={},this.left=0,this.event=new de.vpe}set config(Xe){null!=Xe.notify&&!Array.isArray(Xe.notify)&&Xe.notify>0&&(Xe.notify=[Xe.notify]),this._config=Xe}get config(){return this._config}begin(){this.status=ae.ing,this.callEvent("start")}restart(){this.status!==ae.stop&&this.destroy(),this.init(),this.callEvent("restart")}stop(){this.status!==ae.stop&&(this.status=ae.stop,this.destroy(),this.callEvent("stop"))}pause(){this.status===ae.stop||this.status===ae.pause||(this.status=ae.pause,this.callEvent("pause"))}resume(){this.status===ae.stop||this.status!==ae.pause||(this.status=ae.ing,this.callEvent("resume"))}callEvent(Xe){this.event.emit({action:Xe,left:this.left,status:this.status,text:this.i.text})}init(){const{locale:Xe,defCog:Lt}=this,Mt=this.config={...new xe(Xe),...Lt,...this.config},me=this.frequency=~Mt.format.indexOf("S")?100:1e3;this.status=Mt.demand?ae.pause:ae.ing,this.getLeft();const ce=this.reflow;this.reflow=(Ie=0,mt=!1)=>ce.apply(this,[Ie,mt]),Array.isArray(Mt.notify)&&Mt.notify.forEach(Ie=>{if(Ie<1)throw new Error("The notify config must be a positive integer.");Ie*=1e3,this._notify[Ie-=Ie%me]=!0}),this.timer.add(this.reflow,me).start(),this.reflow(0,!0)}destroy(){return this.timer.remove(this.reflow),this}reflow(Xe=0,Lt=!1){if(this.isDestroy)return;const{status:Mt,config:me,_notify:ce}=this;if(!Lt&&Mt!==ae.ing)return;let Ie=this.left=this.left-this.frequency*Xe;Ie<1&&(Ie=0),this.i={value:Ie,text:me.formatDate({date:Ie,formatStr:me.format,timezone:me.timezone})},"function"==typeof me.prettyText&&(this.i.text=me.prettyText(this.i.text)),this.cdr.detectChanges(),(0===me.notify||ce[Ie])&&this.ngZone.run(()=>{this.callEvent("notify")}),0===Ie&&this.ngZone.run(()=>{this.status=ae.done,this.destroy(),this.callEvent("done")})}getLeft(){const{config:Xe,frequency:Lt}=this;let Mt=1e3*Xe.leftTime;const me=Xe.stopTime;!Mt&&me&&(Mt=me-(new Date).getTime()),this.left=Mt-Mt%Lt}ngOnInit(){this.init(),this.config.demand||this.begin()}ngOnDestroy(){this.isDestroy=!0,this.destroy()}ngOnChanges(Xe){Xe.config.firstChange||this.restart()}}return Ae.\u0275fac=function(Xe){return new(Xe||Ae)(de.Y36(de.soG),de.Y36(we),de.Y36(xe),de.Y36(de.sBO),de.Y36(de.R0b))},Ae.\u0275cmp=de.Xpm({type:Ae,selectors:[["countdown"]],hostVars:2,hostBindings:function(Xe,Lt){2&Xe&&de.ekj("count-down",!0)},inputs:{config:"config",render:"render"},outputs:{event:"event"},standalone:!0,features:[de._Bn([we]),de.TTD,de.jDz],decls:2,vars:5,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(Xe,Lt){1&Xe&&(de.YNc(0,Pe,2,1,"ng-container",0),de.YNc(1,pe,1,0,"ng-container",1)),2&Xe&&(de.Q6J("ngIf",!Lt.render),de.xp6(1),de.Q6J("ngTemplateOutlet",Lt.render)("ngTemplateOutletContext",de.VKq(3,ke,Lt.i)))},dependencies:[r.ez,r.O5,r.tP],encapsulation:2,changeDetection:0}),Ae})(),Ue=(()=>{class Ae{}return Ae.\u0275fac=function(Xe){return new(Xe||Ae)},Ae.\u0275mod=de.oAB({type:Ae}),Ae.\u0275inj=de.cJS({imports:[vt]}),Ae})(),tt=(()=>{class Ae{static#e=this.\u0275fac=function(Lt){return new(Lt||Ae)};static#t=this.\u0275mod=de.oAB({type:Ae});static#n=this.\u0275inj=de.cJS({providers:[r.uU,ve],imports:[r.ez,L.Bz,Oe.UX,Oe.u5,Ue]})}return Ae})()},2340:(kt,$e,V)=>{"use strict";V.d($e,{N:()=>r});const r={production:!0,apiEndPoint:"https://run999.live:4001/api/v1",apiClientId:"",apiClientSecret:"",subscriptionUrl:"",recaptcha_site_key:"",recaptcha_site_key_html:"",thread:"",messageTopic:"",notificationTopic:"",socketUrl:"https://run999.live:4001",liveStreamUrl:"https://tv-br2w23uvmdfe.fstlive.video/?eventid=",casinoOperatorId:9644,casinoMarketName:{56766:"Teenpatti one day (virtual)",56767:"Teenpatti 1 Day",56768:"Teenpatti T20",56769:"Teenpatti T20 (virtual)",56966:"32 card casino (virtual)",56967:"32 cards casino",56968:"Hi Low",56969:"Hi Low (virtual)",67563:"Poker (virtual)",67564:"Poker",67565:"Six player poker",67566:"Six player poker (virtual)",67567:"Poker 20-20",67568:"Poker 20-20 (virtual)",67570:"Bollywood Casino",67571:"Bollywood Casino (virtual)",67575:"Casino Meter ",67576:"Casino Meter (virtual)",67580:"Casino War",67581:"Casino War (virtual)",67600:"Muflis Teenpatti",67601:"Muflis Teenpatti (virtual)",67610:"Trio",67611:"Trio (virtual)",67620:"Queen Race",67621:"Queen Race (virtual)",67630:"Teenpatti Test",67631:"Teenpatti Test (virtual)",67640:"Teenpatti Open",67641:"Teenpatti Open (virtual)",67660:"2 Cards Teenpatti",67670:"3 Cards Judgement",67680:"Trap",67690:"29 Card Baccarat",67710:"Race to 17",67720:"Super Over",67722:"Aviator",70001:"Fortune Wheel",70003:"Coin Toss",70004:"Limbo",70005:"Slot Game",70006:"Rock Paper Scissors",70008:"Cricket",70009:"Classic Dice",70010:"Crash",70011:"Mines",70013:"Tower Legends",87564:"Andar Bahar",87565:"Andar Bahar (virtual)",90100:"Race 20-20",90101:"Race 20-20 (virtual)",92036:"Matka (virtual)",92037:"Matka",92038:"Baccarat",92039:"Baccarat (virtual)",98566:"Sicbo",98567:"Dream Catcher",98788:"Roulette",98789:"7 up & Down",98790:"Dragon Tiger",98791:"Amar Akbar Anthony",98792:"Roulette (virtual)",98793:"7 up & down (virtual)",98794:"Dragon Tiger (virtual)",98795:"Amar Akbar Anthony (virtual)"}}},2931:(kt,$e,V)=>{"use strict";var r=V(1481),L=V(1571),se=V(433),de=V(8869),ve=V(8615),Oe=V(1782);const Pe=function(){return{exact:!0}};let pe=(()=>{class c{constructor(l,f,m){this.auth=l,this.api=f,this.location=m}ngOnInit(){}getLogo(){this.api.get("user/get_logo").subscribe(l=>{this.logo=l},l=>{401==l.status&&this.auth.logout("/login")})}static#e=this.\u0275fac=function(f){return new(f||c)(L.Y36(Oe.e),L.Y36(ve.s),L.Y36(Location))};static#t=this.\u0275cmp=L.Xpm({type:c,selectors:[["app-page-not-found"]],decls:8,vars:3,consts:[[1,"page-not-found","o-flex","o-flex--column"],["width","100",3,"src"],[1,"color-secondary","mt-3",2,"color","#1e7ea2"],["mat-flat-button","","routerLink","/","routerLinkActive","is-active",1,"c-btn","c-btn--primary","c-btn--large",3,"routerLinkActiveOptions"]],template:function(f,m){1&f&&(L.TgZ(0,"div",0),L._UZ(1,"img",1),L.TgZ(2,"h1",2),L._uU(3,"404"),L.qZA(),L.TgZ(4,"p"),L._uU(5,"Sorry but page you requested does not exist!"),L.qZA(),L.TgZ(6,"a",3),L._uU(7,"Back to dashboard"),L.qZA()()),2&f&&(L.xp6(1),L.Q6J("src",null==m.logo?null:m.logo.image,L.LSH),L.xp6(5),L.Q6J("routerLinkActiveOptions",L.DdM(2,Pe)))},dependencies:[de.rH,de.Od],styles:[".page-not-found[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;padding:20px 0}.page-not-found[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:68px;margin-top:0}.page-not-found[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:22px}.page-not-found[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:inline-block;margin-top:20px}"]})}return c})();var ke=V(1847),ae=V(2236),we=V(6895);const xe=[{path:"",loadChildren:()=>Promise.all([V.e(407),V.e(592),V.e(927)]).then(V.bind(V,7927)).then(c=>c.MainModule),canActivate:[ke.P],data:{role:ae.u.Client}},{path:"admin",loadChildren:()=>Promise.all([V.e(407),V.e(751),V.e(663)]).then(V.bind(V,3663)).then(c=>c.AdminModule),canActivate:[ke.P],data:{role:ae.u.Admin}},{path:"manager",loadChildren:()=>Promise.all([V.e(751),V.e(592),V.e(340)]).then(V.bind(V,8340)).then(c=>c.ManagerModule),canActivate:[ke.P],data:{role:ae.u.Manager}},{path:"",loadChildren:()=>V.e(997).then(V.bind(V,4997)).then(c=>c.AuthModule)},{path:"**",component:pe}];let vt=(()=>{class c{static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275mod=L.oAB({type:c});static#n=this.\u0275inj=L.cJS({imports:[de.Bz.forRoot(xe,{useHash:!0}),we.ez,de.Bz]})}return c})();var Ue=V(2340);let tt=(()=>{class c{constructor(l,f,m){this.titleService=l,this.authService=f,this.renderer=m,this.title="Bhaijaan",this.isIphone=!1,this.isAndroid=!1,document.addEventListener("contextmenu",function(D){D.preventDefault()})}ngOnInit(){const l=navigator.userAgent||navigator.vendor||window.opera;/iPhone|iPad|iPod/i.test(l)&&(this.isIphone=!0),/android/i.test(l)&&(this.isAndroid=!0);const f=document.body;this.isIphone?this.renderer.addClass(f,"iphone-device"):this.isAndroid&&this.renderer.addClass(f,"android-device"),Ue.N.production&&"http:"===location.protocol&&(window.location.href=location.href.replace("http","https")),this.titleService.setTitle("run999.live | Welcome"),this.authService.isLoggedIn().subscribe(m=>{this.titleService.setTitle(m?"RUN999.LIVE":"run999.live | Welcome")})}static#e=this.\u0275fac=function(f){return new(f||c)(L.Y36(r.Dx),L.Y36(Oe.e),L.Y36(L.Qsj))};static#t=this.\u0275cmp=L.Xpm({type:c,selectors:[["app-root"]],decls:1,vars:0,template:function(f,m){1&f&&L._UZ(0,"router-outlet")},dependencies:[de.lC]})}return c})();var Ae=V(529),lt=V(1135),Xe=V(2843),Lt=V(515),Mt=V(262),me=V(3900),ce=V(8746),Ie=V(9300),mt=V(5698),_t=V(7185);let ut=(()=>{class c{constructor(l){this.toastr=l}success(l){this.toastr.success(l)}error(l){this.toastr.error(l)}static#e=this.\u0275fac=function(f){return new(f||c)(L.LFG(_t._W))};static#t=this.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac})}return c})(),pt=(()=>{class c{constructor(l,f,m){this.injector=l,this.authService=f,this.toast=m,this.refreshTokenInProgress=!1,this.tokenSubject=new lt.X(null)}intercept(l,f){return this.authService.isAuthenticated()&&(l=this.addAccessToken(l)),f.handle(l).pipe((0,Mt.K)(m=>(m instanceof Ae.UA&&401===m.status&&this.toast.error("Unauthorized Access!"),(0,Xe._)(m))))}handle401Error(l,f){return this.refreshTokenInProgress?this.tokenSubject.pipe((0,Ie.h)(m=>null!=m),(0,mt.q)(1),(0,me.w)(()=>f.handle(this.addAccessToken(l)))):(this.refreshTokenInProgress=!0,this.tokenSubject.next(null),this.injector.get(Ae.eN).post(`${Ue.N.apiEndPoint}/oauth/v2/token`,{grant_type:"refresh_token",refresh_token:this.authService.getRefreshToken(),client_id:Ue.N.apiClientId,client_secret:Ue.N.apiClientSecret}).pipe((0,me.w)(D=>D?(this.authService.setToken(D),this.tokenSubject.next(D),f.handle(this.addAccessToken(l))):(this.authService.logout(),Lt.E)),(0,Mt.K)(()=>(this.authService.logout(),Lt.E)),(0,ce.x)(()=>{this.refreshTokenInProgress=!1})))}addAccessToken(l){return l.clone({setHeaders:{"X-Auth-Token":this.authService.getAccessToken()}})}static#e=this.\u0275fac=function(f){return new(f||c)(L.LFG(L.zs3),L.LFG(Oe.e),L.LFG(ut))};static#t=this.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac})}return c})();var At="delete",at=5,Kt=1<>>0;if(""+l!==o||4294967295===l)return NaN;o=l}return o<0?He(c)+o:o}function ze(){return!0}function fe(c,o,l){return(0===c&&!Ge(c)||void 0!==l&&c<=-l)&&(void 0===o||void 0!==l&&o>=l)}function Re(c,o){return Te(c,o,0)}function te(c,o){return Te(c,o,o)}function Te(c,o,l){return void 0===c?l:Ge(c)?o===1/0?o:0|Math.max(0,o+c):void 0===o||o===c?c:0|Math.min(o,c)}function Ge(c){return c<0||0===c&&1/c==-1/0}var qt="@@__IMMUTABLE_ITERABLE__@@";function et(c){return Boolean(c&&c[qt])}var fn="@@__IMMUTABLE_KEYED__@@";function gt(c){return Boolean(c&&c[fn])}var Qt="@@__IMMUTABLE_INDEXED__@@";function jt(c){return Boolean(c&&c[Qt])}function Cn(c){return gt(c)||jt(c)}var Xt=function(o){return et(o)?o:ie(o)},Me=function(c){function o(l){return gt(l)?l:ye(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o}(Xt),J=function(c){function o(l){return jt(l)?l:nt(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o}(Xt),oe=function(c){function o(l){return et(l)&&!Cn(l)?l:Ze(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o}(Xt);Xt.Keyed=Me,Xt.Indexed=J,Xt.Set=oe;var Ne="@@__IMMUTABLE_SEQ__@@";function Ce(c){return Boolean(c&&c[Ne])}var Ke="@@__IMMUTABLE_RECORD__@@";function wt(c){return Boolean(c&&c[Ke])}function Je(c){return et(c)||wt(c)}var Ht="@@__IMMUTABLE_ORDERED__@@";function Pt(c){return Boolean(c&&c[Ht])}var Ot=0,dt=1,Se=2,zt="function"==typeof Symbol&&Symbol.iterator,Pn="@@iterator",In=zt||Pn,Dt=function(o){this.next=o};function ft(c,o,l,f){var m=0===c?o:1===c?l:[o,l];return f?f.value=m:f={value:m,done:!1},f}function Sn(){return{value:void 0,done:!0}}function un(c){return!!Array.isArray(c)||!!or(c)}function Xn(c){return c&&"function"==typeof c.next}function an(c){var o=or(c);return o&&o.call(c)}function or(c){var o=c&&(zt&&c[zt]||c[Pn]);if("function"==typeof o)return o}Dt.prototype.toString=function(){return"[Iterator]"},Dt.KEYS=Ot,Dt.VALUES=dt,Dt.ENTRIES=Se,Dt.prototype.inspect=Dt.prototype.toSource=function(){return this.toString()},Dt.prototype[In]=function(){return this};var Hn=Object.prototype.hasOwnProperty;function qe(c){return!(!Array.isArray(c)&&"string"!=typeof c)||c&&"object"==typeof c&&Number.isInteger(c.length)&&c.length>=0&&(0===c.length?1===Object.keys(c).length:c.hasOwnProperty(c.length-1))}var ie=function(c){function o(l){return null==l?vn():Je(l)?l.toSeq():function he(c){var o=Y(c);if(o)return function qn(c){var o=or(c);return o&&o===c.entries}(c)?o.fromEntrySeq():function Sr(c){var o=or(c);return o&&o===c.keys}(c)?o.toSetSeq():o;if("object"==typeof c)return new Wt(c);throw new TypeError("Expected Array or collection object of values, or keyed object: "+c)}(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.prototype.toSeq=function(){return this},o.prototype.toString=function(){return this.__toString("Seq {","}")},o.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},o.prototype.__iterate=function(f,m){var D=this._cache;if(D){for(var M=D.length,x=0;x!==M;){var G=D[m?M-++x:x++];if(!1===f(G[1],G[0],this))break}return x}return this.__iterateUncached(f,m)},o.prototype.__iterator=function(f,m){var D=this._cache;if(D){var M=D.length,x=0;return new Dt(function(){if(x===M)return{value:void 0,done:!0};var G=D[m?M-++x:x++];return ft(f,G[0],G[1])})}return this.__iteratorUncached(f,m)},o}(Xt),ye=function(c){function o(l){return null==l?vn().toKeyedSeq():et(l)?gt(l)?l.toSeq():l.fromEntrySeq():wt(l)?l.toSeq():Mn(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.prototype.toKeyedSeq=function(){return this},o}(ie),nt=function(c){function o(l){return null==l?vn():et(l)?gt(l)?l.entrySeq():l.toIndexedSeq():wt(l)?l.toSeq().entrySeq():be(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){return o(arguments)},o.prototype.toIndexedSeq=function(){return this},o.prototype.toString=function(){return this.__toString("Seq [","]")},o}(ie),Ze=function(c){function o(l){return(et(l)&&!Cn(l)?l:nt(l)).toSetSeq()}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){return o(arguments)},o.prototype.toSetSeq=function(){return this},o}(ie);ie.isSeq=Ce,ie.Keyed=ye,ie.Set=Ze,ie.Indexed=nt,ie.prototype[Ne]=!0;var Et=function(c){function o(l){this._array=l,this.size=l.length}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.prototype.get=function(f,m){return this.has(f)?this._array[Fe(this,f)]:m},o.prototype.__iterate=function(f,m){for(var D=this._array,M=D.length,x=0;x!==M;){var G=m?M-++x:x++;if(!1===f(D[G],G,this))break}return x},o.prototype.__iterator=function(f,m){var D=this._array,M=D.length,x=0;return new Dt(function(){if(x===M)return{value:void 0,done:!0};var G=m?M-++x:x++;return ft(f,G,D[G])})},o}(nt),Wt=function(c){function o(l){var f=Object.keys(l).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(l):[]);this._object=l,this._keys=f,this.size=f.length}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.prototype.get=function(f,m){return void 0===m||this.has(f)?this._object[f]:m},o.prototype.has=function(f){return Hn.call(this._object,f)},o.prototype.__iterate=function(f,m){for(var D=this._object,M=this._keys,x=M.length,G=0;G!==x;){var Q=M[m?x-++G:G++];if(!1===f(D[Q],Q,this))break}return G},o.prototype.__iterator=function(f,m){var D=this._object,M=this._keys,x=M.length,G=0;return new Dt(function(){if(G===x)return{value:void 0,done:!0};var Q=M[m?x-++G:G++];return ft(f,Q,D[Q])})},o}(ye);Wt.prototype[Ht]=!0;var rn,pn=function(c){function o(l){this._collection=l,this.size=l.length||l.size}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.prototype.__iterateUncached=function(f,m){if(m)return this.cacheResult().__iterate(f,m);var M=an(this._collection),x=0;if(Xn(M))for(var G;!(G=M.next()).done&&!1!==f(G.value,x++,this););return x},o.prototype.__iteratorUncached=function(f,m){if(m)return this.cacheResult().__iterator(f,m);var M=an(this._collection);if(!Xn(M))return new Dt(Sn);var x=0;return new Dt(function(){var G=M.next();return G.done?G:ft(f,x++,G.value)})},o}(nt);function vn(){return rn||(rn=new Et([]))}function Mn(c){var o=Y(c);if(o)return o.fromEntrySeq();if("object"==typeof c)return new Wt(c);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+c)}function be(c){var o=Y(c);if(o)return o;throw new TypeError("Expected Array or collection object of values: "+c)}function Y(c){return qe(c)?new Et(c):un(c)?new pn(c):void 0}var X="@@__IMMUTABLE_MAP__@@";function We(c){return Boolean(c&&c[X])}function It(c){return We(c)&&Pt(c)}function xt(c){return Boolean(c&&"function"==typeof c.equals&&"function"==typeof c.hashCode)}function en(c,o){if(c===o||c!=c&&o!=o)return!0;if(!c||!o)return!1;if("function"==typeof c.valueOf&&"function"==typeof o.valueOf){if((c=c.valueOf())===(o=o.valueOf())||c!=c&&o!=o)return!0;if(!c||!o)return!1}return!!(xt(c)&&xt(o)&&c.equals(o))}var on="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(o,l){var f=65535&(o|=0),m=65535&(l|=0);return f*m+((o>>>16)*m+f*(l>>>16)<<16>>>0)|0};function er(c){return c>>>1&1073741824|3221225471&c}var pr=Object.prototype.valueOf;function Kn(c){if(null==c)return Wr(c);if("function"==typeof c.hashCode)return er(c.hashCode(c));var o=function H(c){return c.valueOf!==pr&&"function"==typeof c.valueOf?c.valueOf(c):c}(c);if(null==o)return Wr(o);switch(typeof o){case"boolean":return o?1108378657:1108378656;case"number":return function Hr(c){if(c!=c||c===1/0)return 0;var o=0|c;for(o!==c&&(o^=4294967295*c);c>4294967295;)o^=c/=4294967295;return er(o)}(o);case"string":return o.length>yr?function ri(c){var o=xn[c];return void 0===o&&(o=ci(c),sn===Ft&&(sn=0,xn={}),sn++,xn[c]=o),o}(o):ci(o);case"object":case"function":return function qr(c){var o;if(rt&&void 0!==(o=Bt.get(c))||void 0!==(o=c[dr])||!B&&(void 0!==(o=c.propertyIsEnumerable&&c.propertyIsEnumerable[dr])||(o=function I(c){if(c&&c.nodeType>0)switch(c.nodeType){case 1:return c.uniqueID;case 9:return c.documentElement&&c.documentElement.uniqueID}}(c),void 0!==o)))return o;if(o=le(),rt)Bt.set(c,o);else{if(void 0!==K&&!1===K(c))throw new Error("Non-extensible objects are not allowed as keys.");if(B)Object.defineProperty(c,dr,{enumerable:!1,configurable:!1,writable:!1,value:o});else if(void 0!==c.propertyIsEnumerable&&c.propertyIsEnumerable===c.constructor.prototype.propertyIsEnumerable)c.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},c.propertyIsEnumerable[dr]=o;else{if(void 0===c.nodeType)throw new Error("Unable to set a non-enumerable property on object.");c[dr]=o}}return o}(o);case"symbol":return function Yr(c){var o=Rn[c];return void 0!==o||(o=le(),Rn[c]=o),o}(o);default:if("function"==typeof o.toString)return ci(o.toString());throw new Error("Value type "+typeof o+" cannot be hashed.")}}function Wr(c){return null===c?1108378658:1108378659}function ci(c){for(var o=0,l=0;l=0&&(Q.get=function(ge,Le){return(ge=Fe(this,ge))>=0&&geG)return{value:void 0,done:!0};var Nt=ct.next();return f||ge===dt||Nt.done?Nt:ft(ge,yt-1,ge===Ot?void 0:Nt.value[1],Nt)})},Q}function Co(c,o,l,f){var m=cr(c);return m.__iterateUncached=function(D,M){var x=this;if(M)return this.cacheResult().__iterate(D,M);var G=!0,Q=0;return c.__iterate(function(ge,Le,ct){if(!G||!(G=o.call(l,ge,Le,ct)))return Q++,D(ge,f?Le:Q-1,x)}),Q},m.__iteratorUncached=function(D,M){var x=this;if(M)return this.cacheResult().__iterator(D,M);var G=c.__iterator(Se,M),Q=!0,ge=0;return new Dt(function(){var Le,ct,St;do{if((Le=G.next()).done)return f||D===dt?Le:ft(D,ge++,D===Ot?void 0:Le.value[1],Le);var yt=Le.value;ct=yt[0],St=yt[1],Q&&(Q=o.call(l,St,ct,x))}while(Q);return D===Se?Le:ft(D,ct,St,Le)})},m}function Dr(c,o,l){var f=cr(c);return f.__iterateUncached=function(m,D){if(D)return this.cacheResult().__iterate(m,D);var M=0,x=!1;return function G(Q,ge){Q.__iterate(function(Le,ct){return(!o||ge0}function ho(c,o,l,f){var m=cr(c),D=new Et(l).map(function(M){return M.size});return m.size=f?D.max():D.min(),m.__iterate=function(M,x){for(var Q,G=this.__iterator(dt,x),ge=0;!(Q=G.next()).done&&!1!==M(Q.value,ge++,this););return ge},m.__iteratorUncached=function(M,x){var G=l.map(function(Le){return Le=Xt(Le),an(x?Le.reverse():Le)}),Q=0,ge=!1;return new Dt(function(){var Le;return ge||(Le=G.map(function(ct){return ct.next()}),ge=f?Le.every(function(ct){return ct.done}):Le.some(function(ct){return ct.done})),ge?{value:void 0,done:!0}:ft(M,Q++,o.apply(null,Le.map(function(ct){return ct.value})))})},m}function Zn(c,o){return c===o?c:Ce(c)?o:c.constructor(o)}function eo(c){if(c!==Object(c))throw new TypeError("Expected [K, V] tuple: "+c)}function Hi(c){return gt(c)?Me:jt(c)?J:oe}function cr(c){return Object.create((gt(c)?ye:jt(c)?nt:Ze).prototype)}function Lo(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ie.prototype.cacheResult.call(this)}function jr(c,o){return void 0===c&&void 0===o?0:void 0===c?1:void 0===o?-1:c>o?1:c0;)o[l]=arguments[l+1];if("function"!=typeof c)throw new TypeError("Invalid merger function: "+c);return Oo(this,o,c)}function Oo(c,o,l){for(var f=[],m=0;m0;)o[l]=arguments[l+1];return go(this,o,c)}function xi(c){for(var o=[],l=arguments.length-1;l-- >0;)o[l]=arguments[l+1];return Ui(this,c,Br(),function(f){return ro(f,o)})}function mo(c){for(var o=[],l=arguments.length-1;l-- >0;)o[l]=arguments[l+1];return Ui(this,c,Br(),function(f){return go(f,o)})}function Nr(c){var o=this.asMutable();return c(o),o.wasAltered()?o.__ensureOwner(this.__ownerID):this}function _o(){return this.__ownerID?this:this.__ensureOwner(new Yn)}function wi(){return this.__ensureOwner()}function jn(){return this.__altered}var $i=function(c){function o(l){return null==l?Br():We(l)&&!Pt(l)?l:Br().withMutations(function(f){var m=c(l);Mr(m.size),m.forEach(function(D,M){return f.set(M,D)})})}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){for(var f=[],m=arguments.length;m--;)f[m]=arguments[m];return Br().withMutations(function(D){for(var M=0;M=f.length)throw new Error("Missing value for key: "+f[M]);D.set(f[M],f[M+1])}})},o.prototype.toString=function(){return this.__toString("Map {","}")},o.prototype.get=function(f,m){return this._root?this._root.get(0,void 0,f,m):m},o.prototype.set=function(f,m){return dn(this,f,m)},o.prototype.remove=function(f){return dn(this,f,Jt)},o.prototype.deleteAll=function(f){var m=Xt(f);return 0===m.size?this:this.withMutations(function(D){m.forEach(function(M){return D.remove(M)})})},o.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Br()},o.prototype.sort=function(f){return Do(Jn(this,f))},o.prototype.sortBy=function(f,m){return Do(Jn(this,m,f))},o.prototype.map=function(f,m){var D=this;return this.withMutations(function(M){M.forEach(function(x,G){M.set(G,f.call(m,x,G,D))})})},o.prototype.__iterator=function(f,m){return new Ws(this,f,m)},o.prototype.__iterate=function(f,m){var D=this,M=0;return this._root&&this._root.iterate(function(x){return M++,f(x[1],x[0],D)},m),M},o.prototype.__ensureOwner=function(f){return f===this.__ownerID?this:f?Gi(this.size,this._root,f,this.__hash):0===this.size?Br():(this.__ownerID=f,this.__altered=!1,this)},o}(Me);$i.isMap=We;var Un=$i.prototype;Un[X]=!0,Un[At]=Un.remove,Un.removeAll=Un.deleteAll,Un.setIn=ss,Un.removeIn=Un.deleteIn=po,Un.update=Ds,Un.updateIn=Ho,Un.merge=Un.concat=zs,Un.mergeWith=Dl,Un.mergeDeep=ba,Un.mergeDeepWith=Da,Un.mergeIn=xi,Un.mergeDeepIn=mo,Un.withMutations=Nr,Un.wasAltered=jn,Un.asImmutable=wi,Un["@@transducer/init"]=Un.asMutable=_o,Un["@@transducer/step"]=function(c,o){return c.set(o[0],o[1])},Un["@@transducer/result"]=function(c){return c.asImmutable()};var Lr=function(o,l){this.ownerID=o,this.entries=l};Lr.prototype.get=function(o,l,f,m){for(var D=this.entries,M=0,x=D.length;M=Qn)return function wa(c,o,l,f){c||(c=new Yn);for(var m=new wr(c,Kn(l),[l,f]),D=0;D>>o)&st),M=this.bitmap;return M&D?this.nodes[S(M&D-1)].get(o+at,l,f,m):m},vo.prototype.update=function(o,l,f,m,D,M,x){void 0===f&&(f=Kn(m));var G=(0===l?f:f>>>l)&st,Q=1<=Jr)return function A(c,o,l,f,m){for(var D=0,M=new Array(Kt),x=0;0!==l;x++,l>>>=1)M[x]=1&l?o[D++]:void 0;return M[f]=m,new Ao(c,D+1,M)}(o,St,ge,G,Nt);if(Le&&!Nt&&2===St.length&&Ua(St[1^ct]))return St[1^ct];if(Le&&Nt&&1===St.length&&Ua(Nt))return Nt;var On=o&&o===this.ownerID,ln=Le?Nt?ge:ge^Q:ge|Q,_r=Le?Nt?W(St,ct,Nt,On):function ht(c,o,l){var f=c.length-1;if(l&&o===f)return c.pop(),c;for(var m=new Array(f),D=0,M=0;M>>o)&st];return M?M.get(o+at,l,f,m):m},Ao.prototype.update=function(o,l,f,m,D,M,x){void 0===f&&(f=Kn(m));var G=(0===l?f:f>>>l)&st,ge=this.nodes,Le=ge[G];if(D===Jt&&!Le)return this;var ct=Cs(Le,o,l+at,f,m,D,M,x);if(ct===Le)return this;var St=this.count;if(Le){if(!ct&&--St>>l)&st,M=(0===l?f:f>>>l)&st,G=D===M?[Ys(c,o,l+at,f,m)]:(x=new wr(o,f,m),D>1&1431655765))+(c>>2&858993459))+(c>>4)&252645135,127&(c+=c>>8)+(c>>16)}function W(c,o,l,f){var m=f?c:zn(c);return m[o]=l,m}var Qn=Kt/4,Jr=Kt/2,gr=Kt/4,yo="@@__IMMUTABLE_LIST__@@";function zi(c){return Boolean(c&&c[yo])}var Ir=function(c){function o(l){var f=si();if(null==l)return f;if(zi(l))return l;var m=c(l),D=m.size;return 0===D?f:(Mr(D),D>0&&D=0&&f=c.size||o<0)return c.withMutations(function(M){o<0?oo(M,o).set(0,l):oo(M,0,o+1).set(o,l)});var f=c._tail,m=c._root,D={value:!1};return(o+=c._origin)>=Ks(c._capacity)?f=bo(f,c.__ownerID,0,o,l,D):m=bo(m,c.__ownerID,c._level,o,l,D),D.value?c.__ownerID?(c._root=m,c._tail=f,c.__hash=void 0,c.__altered=!0,c):us(c._origin,c._capacity,c._level,m,f):c}(this,f,m)},o.prototype.remove=function(f){return this.has(f)?0===f?this.shift():f===this.size-1?this.pop():this.splice(f,1):this},o.prototype.insert=function(f,m){return this.splice(f,0,m)},o.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=at,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):si()},o.prototype.push=function(){var f=arguments,m=this.size;return this.withMutations(function(D){oo(D,0,m+f.length);for(var M=0;M>>l&st;if(m>=this.array.length)return new io([],o);var M,D=0===m;if(l>0){var x=this.array[m];if((M=x&&x.removeBefore(o,l-at,f))===x&&D)return this}if(D&&!M)return this;var G=Zr(this,o);if(!D)for(var Q=0;Q>>l&st;if(m>=this.array.length)return this;if(l>0){var M=this.array[m];if((D=M&&M.removeAfter(o,l-at,f))===M&&m===this.array.length-1)return this}var x=Zr(this,o);return x.array.splice(m+1),D&&(x.array[m]=D),x};var oi,$o={};function Ts(c,o){var l=c._origin,f=c._capacity,m=Ks(f),D=c._tail;return function M(Q,ge,Le){return 0===ge?function x(Q,ge){var Le=ge===m?D&&D.array:Q&&Q.array,ct=ge>l?0:l-ge,St=f-ge;return St>Kt&&(St=Kt),function(){if(ct===St)return $o;var yt=o?--St:ct++;return Le&&Le[yt]}}(Q,Le):function G(Q,ge,Le){var ct,St=Q&&Q.array,yt=Le>l?0:l-Le>>ge,Nt=1+(f-Le>>ge);return Nt>Kt&&(Nt=Kt),function(){for(;;){if(ct){var On=ct();if(On!==$o)return On;ct=null}if(yt===Nt)return $o;var ln=o?--Nt:yt++;ct=M(St&&St[ln],ge-at,Le+(ln<>>l&st,x=c&&M0){var Q=c&&c.array[M],ge=bo(Q,o,l-at,f,m,D);return ge===Q?c:((G=Zr(c,o)).array[M]=ge,G)}return x&&c.array[M]===m?c:(D&&tn(D),G=Zr(c,o),void 0===m&&M===G.array.length-1?G.array.pop():G.array[M]=m,G)}function Zr(c,o){return o&&c&&o===c.ownerID?c:new io(c?c.array.slice():[],o)}function ja(c,o){if(o>=Ks(c._capacity))return c._tail;if(o<1<0;)l=l.array[o>>>f&st],f-=at;return l}}function oo(c,o,l){void 0!==o&&(o|=0),void 0!==l&&(l|=0);var f=c.__ownerID||new Yn,m=c._origin,D=c._capacity,M=m+o,x=void 0===l?D:l<0?D+l:m+l;if(M===m&&x===D)return c;if(M>=x)return c.clear();for(var G=c._level,Q=c._root,ge=0;M+ge<0;)Q=new io(Q&&Q.array.length?[void 0,Q]:[],f),ge+=1<<(G+=at);ge&&(M+=ge,m+=ge,x+=ge,D+=ge);for(var Le=Ks(D),ct=Ks(x);ct>=1<Le?new io([],f):St;if(St&&ct>Le&&Mat;On-=at){var ln=Le>>>On&st;Nt=Nt.array[ln]=Zr(Nt.array[ln],f)}Nt.array[Le>>>at&st]=St}if(x=ct)M-=ct,x-=ct,G=at,Q=null,yt=yt&&yt.removeBefore(f,0,M);else if(M>m||ct>>G&st;if(_r!==ct>>>G&st)break;_r&&(ge+=(1<m&&(Q=Q.removeBefore(f,G,M-ge)),Q&&ct>>at<=Kt&&m.size>=2*f.size?(x=(G=m.filter(function(Q,ge){return void 0!==Q&&D!==ge})).toKeyedSeq().map(function(Q){return Q[0]}).flip().toMap(),c.__ownerID&&(x.__ownerID=G.__ownerID=c.__ownerID)):(x=f.remove(o),G=D===m.size-1?m.pop():m.set(D,void 0))}else if(M){if(l===m.get(D)[1])return c;x=f,G=m.set(D,[o,l])}else x=f.set(o,m.size),G=m.set(m.size,[o,l]);return c.__ownerID?(c.size=x.size,c._map=x,c._list=G,c.__hash=void 0,c.__altered=!0,c):Go(x,G)}Do.isOrderedMap=It,Do.prototype[Ht]=!0,Do.prototype[At]=Do.prototype.remove;var Zs="@@__IMMUTABLE_STACK__@@";function Ss(c){return Boolean(c&&c[Zs])}var Wi=function(c){function o(l){return null==l?Ms():Ss(l)?l:Ms().pushAll(l)}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){return this(arguments)},o.prototype.toString=function(){return this.__toString("Stack [","]")},o.prototype.get=function(f,m){var D=this._head;for(f=Fe(this,f);D&&f--;)D=D.next;return D?D.value:m},o.prototype.peek=function(){return this._head&&this._head.value},o.prototype.push=function(){var f=arguments;if(0===arguments.length)return this;for(var m=this.size+arguments.length,D=this._head,M=arguments.length-1;M>=0;M--)D={value:f[M],next:D};return this.__ownerID?(this.size=m,this._head=D,this.__hash=void 0,this.__altered=!0,this):fs(m,D)},o.prototype.pushAll=function(f){if(0===(f=c(f)).size)return this;if(0===this.size&&Ss(f))return f;Mr(f.size);var m=this.size,D=this._head;return f.__iterate(function(M){m++,D={value:M,next:D}},!0),this.__ownerID?(this.size=m,this._head=D,this.__hash=void 0,this.__altered=!0,this):fs(m,D)},o.prototype.pop=function(){return this.slice(1)},o.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ms()},o.prototype.slice=function(f,m){if(fe(f,m,this.size))return this;var D=Re(f,this.size);if(te(m,this.size)!==this.size)return c.prototype.slice.call(this,f,m);for(var x=this.size-D,G=this._head;D--;)G=G.next;return this.__ownerID?(this.size=x,this._head=G,this.__hash=void 0,this.__altered=!0,this):fs(x,G)},o.prototype.__ensureOwner=function(f){return f===this.__ownerID?this:f?fs(this.size,this._head,f,this.__hash):0===this.size?Ms():(this.__ownerID=f,this.__altered=!1,this)},o.prototype.__iterate=function(f,m){var D=this;if(m)return new Et(this.toArray()).__iterate(function(G,Q){return f(G,Q,D)},m);for(var M=0,x=this._head;x&&!1!==f(x.value,M++,this);)x=x.next;return M},o.prototype.__iterator=function(f,m){if(m)return new Et(this.toArray()).__iterator(f,m);var D=0,M=this._head;return new Dt(function(){if(M){var x=M.value;return M=M.next,ft(f,D++,x)}return{value:void 0,done:!0}})},o}(J);Wi.isStack=Ss;var $a,Qr=Wi.prototype;function fs(c,o,l,f){var m=Object.create(Qr);return m.size=c,m._head=o,m.__ownerID=l,m.__hash=f,m.__altered=!1,m}function Ms(){return $a||($a=fs(0))}Qr[Zs]=!0,Qr.shift=Qr.pop,Qr.unshift=Qr.push,Qr.unshiftAll=Qr.pushAll,Qr.withMutations=Nr,Qr.wasAltered=jn,Qr.asImmutable=wi,Qr["@@transducer/init"]=Qr.asMutable=_o,Qr["@@transducer/step"]=function(c,o){return c.unshift(o)},Qr["@@transducer/result"]=function(c){return c.asImmutable()};var Qs="@@__IMMUTABLE_SET__@@";function Ea(c){return Boolean(c&&c[Qs])}function Ca(c){return Ea(c)&&Pt(c)}function Xr(c,o){if(c===o)return!0;if(!et(o)||void 0!==c.size&&void 0!==o.size&&c.size!==o.size||void 0!==c.__hash&&void 0!==o.__hash&&c.__hash!==o.__hash||gt(c)!==gt(o)||jt(c)!==jt(o)||Pt(c)!==Pt(o))return!1;if(0===c.size&&0===o.size)return!0;var l=!Cn(c);if(Pt(c)){var f=c.entries();return o.every(function(G,Q){var ge=f.next().value;return ge&&en(ge[1],G)&&(l||en(ge[0],Q))})&&f.next().done}var m=!1;if(void 0===c.size)if(void 0===o.size)"function"==typeof c.cacheResult&&c.cacheResult();else{m=!0;var D=c;c=o,o=D}var M=!0,x=o.__iterate(function(G,Q){if(l?!c.has(G):m?!en(G,c.get(Q,Jt)):!en(c.get(Q,Jt),G))return M=!1,!1});return M&&c.size===x}function Fi(c,o){var l=function(f){c.prototype[f]=o[f]};return Object.keys(o).forEach(l),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(l),c}function fr(c){if(!c||"object"!=typeof c)return c;if(!et(c)){if(!Ii(c))return c;c=ie(c)}if(gt(c)){var o={};return c.__iterate(function(f,m){o[m]=fr(f)}),o}var l=[];return c.__iterate(function(f){l.push(fr(f))}),l}var Ns=function(c){function o(l){return null==l?C():Ea(l)&&!Pt(l)?l:C().withMutations(function(f){var m=c(l);Mr(m.size),m.forEach(function(D){return f.add(D)})})}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){return this(arguments)},o.fromKeys=function(f){return this(Me(f).keySeq())},o.intersect=function(f){return(f=Xt(f).toArray()).length?ei.intersect.apply(o(f.pop()),f):C()},o.union=function(f){return(f=Xt(f).toArray()).length?ei.union.apply(o(f.pop()),f):C()},o.prototype.toString=function(){return this.__toString("Set {","}")},o.prototype.has=function(f){return this._map.has(f)},o.prototype.add=function(f){return Ta(this,this._map.set(f,f))},o.prototype.remove=function(f){return Ta(this,this._map.remove(f))},o.prototype.clear=function(){return Ta(this,this._map.clear())},o.prototype.map=function(f,m){var D=this,M=!1,x=Ta(this,this._map.mapEntries(function(G){var Q=G[1],ge=f.call(m,Q,Q,D);return ge!==Q&&(M=!0),[ge,ge]},m));return M?x:this},o.prototype.union=function(){for(var f=[],m=arguments.length;m--;)f[m]=arguments[m];return 0===(f=f.filter(function(D){return 0!==D.size})).length?this:0!==this.size||this.__ownerID||1!==f.length?this.withMutations(function(D){for(var M=0;M=0&&m=0&&D>>-15,461845907),o=on(o<<13|o>>>-13,5),o=on((o=(o+3864292196|0)^c)^o>>>16,2246822507),o=er((o=on(o^o>>>13,3266489909))^o>>>16)}(c.__iterate(l?o?function(D,M){f=31*f+Eo(Kn(D),Kn(M))|0}:function(D,M){f=f+Eo(Kn(D),Kn(M))|0}:o?function(D){f=31*f+Kn(D)|0}:function(D){f=f+Kn(D)|0}),f)}(this))}});var yn=Xt.prototype;yn[qt]=!0,yn[In]=yn.values,yn.toJSON=yn.toArray,yn.__toStringMapper=Ri,yn.inspect=yn.toSource=function(){return this.toString()},yn.chain=yn.flatMap,yn.contains=yn.includes,Fi(Me,{flip:function(){return Zn(this,Ln(this))},mapEntries:function(o,l){var f=this,m=0;return Zn(this,this.toSeq().map(function(D,M){return o.call(l,[M,D],m++,f)}).fromEntrySeq())},mapKeys:function(o,l){var f=this;return Zn(this,this.toSeq().flip().map(function(m,D){return o.call(l,m,D,f)}).flip())}});var tr=Me.prototype;tr[fn]=!0,tr[In]=yn.entries,tr.toJSON=Yt,tr.__toStringMapper=function(c,o){return Ri(o)+": "+Ri(c)},Fi(J,{toKeyedSeq:function(){return new br(this,!1)},filter:function(o,l){return Zn(this,_n(this,o,l,!1))},findIndex:function(o,l){var f=this.findEntry(o,l);return f?f[0]:-1},indexOf:function(o){var l=this.keyOf(o);return void 0===l?-1:l},lastIndexOf:function(o){var l=this.lastKeyOf(o);return void 0===l?-1:l},reverse:function(){return Zn(this,Kr(this,!1))},slice:function(o,l){return Zn(this,bi(this,o,l,!1))},splice:function(o,l){var f=arguments.length;if(l=Math.max(l||0,0),0===f||2===f&&!l)return this;o=Re(o,o<0?this.count():this.size);var m=this.slice(0,o);return Zn(this,1===f?m:m.concat(zn(arguments,2),this.slice(o+l)))},findLastIndex:function(o,l){var f=this.findLastEntry(o,l);return f?f[0]:-1},first:function(o){return this.get(0,o)},flatten:function(o){return Zn(this,Dr(this,o,!1))},get:function(o,l){return(o=Fe(this,o))<0||this.size===1/0||void 0!==this.size&&o>this.size?l:this.find(function(f,m){return m===o},void 0,l)},has:function(o){return(o=Fe(this,o))>=0&&(void 0!==this.size?this.size===1/0||oo?-1:0}function Eo(c,o){return c^o+2654435769+(c<<6)+(c>>2)|0}bn.has=yn.includes,bn.contains=bn.includes,bn.keys=bn.values,Fi(ye,tr),Fi(nt,$n),Fi(Ze,bn);var hs=function(c){function o(l){return null==l?ps():Ca(l)?l:ps().withMutations(function(f){var m=oe(l);Mr(m.size),m.forEach(function(D){return f.add(D)})})}return c&&(o.__proto__=c),(o.prototype=Object.create(c&&c.prototype)).constructor=o,o.of=function(){return this(arguments)},o.fromKeys=function(f){return this(Me(f).keySeq())},o.prototype.toString=function(){return this.__toString("OrderedSet {","}")},o}(Ns);hs.isOrderedSet=Ca;var Xs,zo=hs.prototype;function ti(c,o){var l=Object.create(zo);return l.size=c?c.size:0,l._map=c,l.__ownerID=o,l}function ps(){return Xs||(Xs=ti(cs()))}zo[Ht]=!0,zo.zip=$n.zip,zo.zipWith=$n.zipWith,zo.zipAll=$n.zipAll,zo.__empty=ps,zo.__make=ti;var Nn=function(o,l){var f;!function Cr(c){if(wt(c))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(Je(c))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===c||"object"!=typeof c)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(o);var m=function(x){var G=this;if(x instanceof m)return x;if(!(this instanceof m))return new m(x);if(!f){f=!0;var Q=Object.keys(o),ge=D._indices={};D._name=l,D._keys=Q,D._defaultValues=o;for(var Le=0;Le{class c{constructor(){this.pageUserData=new lt.X(null),this.pageUser=this.pageUserData.asObservable(),this.lastQueryStringData=new lt.X(null),this.lastQueryString=this.lastQueryStringData.asObservable(),this.userUpdatesData=new lt.X(null),this.userUpdates=this.userUpdatesData.asObservable()}setQueryString(l){this.lastQueryStringData.next(l)}getQueryString(l){return $i(this.lastQueryStringData.getValue())}setPageUser(l){this.pageUserData.next(l)}setUserUpdates(l){this.userUpdatesData.next(l)}static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac})}return c})();var na=V(8787);let ms=(()=>{class c{constructor(l,f){this.meta=l,this.titleService=f,this.title=new lt.X("App title"),this.title$=this.title.asObservable()}setTags(l){(l={title:"Home | CG Bet Book",metaTitle:null,description:"CG Bet Book",image:"",url:window.location.href,keywords:"",...l}).metaTitle||(l.metaTitle=l.title),l.image||(l.image=""),this.setTitle(l.title),this.meta.updateTag({name:"keywords",content:l.keywords}),this.meta.updateTag({name:"description",content:l.description}),this.meta.updateTag({name:"twitter:card",content:"summary_large_image"}),this.meta.updateTag({name:"twitter:image:src",content:l.image}),this.meta.updateTag({name:"twitter:description",content:l.description}),this.meta.updateTag({name:"twitter:title",content:l.metaTitle}),this.meta.updateTag({name:"twitter:text:title",content:l.metaTitle}),this.meta.updateTag({name:"twitter:site",content:"@CG Bet Book"}),this.meta.updateTag({name:"twitter:creator",content:"@CG Bet Book"}),this.meta.updateTag({name:"og:site_name",content:"@CG Bet Book"}),this.meta.updateTag({name:"og:title",content:l.metaTitle}),this.meta.updateTag({name:"og:description",content:l.description}),this.meta.updateTag({name:"og:image",content:l.image}),this.meta.updateTag({name:"og:type",content:"website"}),this.meta.updateTag({name:"og:image:type",content:"image/jpeg"}),this.meta.updateTag({name:"og:image:width",content:"300"}),this.meta.updateTag({name:"og:image:height",content:"300"}),this.meta.updateTag({name:"og:url",content:l.url})}setTitle(l){this.title.next(l)}getTitle(){return this.title$}static#e=this.\u0275fac=function(f){return new(f||c)(L.LFG(r.h_),L.LFG(r.Dx))};static#t=this.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac})}return c})();var Ci=V(8538);let _s=(()=>{class c{static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275mod=L.oAB({type:c});static#n=this.\u0275inj=L.cJS({providers:[ve.s,Oe.e,ke.P,na.e,zr,ut,ms,Ci.K,{provide:Ae.TP,useClass:pt,multi:!0}],imports:[we.ez,Ae.JF,de.Bz]})}return c})();var rr=V(7340);function Ma(c){return new L.vHH(3e3,!1)}function q(){return typeof window<"u"&&typeof window.document<"u"}function De(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Qe(c){switch(c.length){case 0:return new rr.ZN;case 1:return c[0];default:return new rr.ZE(c)}}function Rt(c,o,l,f,m=new Map,D=new Map){const M=[],x=[];let G=-1,Q=null;if(f.forEach(ge=>{const Le=ge.get("offset"),ct=Le==G,St=ct&&Q||new Map;ge.forEach((yt,Nt)=>{let On=Nt,ln=yt;if("offset"!==Nt)switch(On=o.normalizePropertyName(On,M),ln){case rr.k1:ln=m.get(Nt);break;case rr.l3:ln=D.get(Nt);break;default:ln=o.normalizeStyleValue(Nt,On,ln,M)}St.set(On,ln)}),ct||x.push(St),Q=St,G=Le}),M.length)throw function Cu(c){return new L.vHH(3502,!1)}();return x}function Vt(c,o,l,f){switch(o){case"start":c.onStart(()=>f(l&&Fn(l,"start",c)));break;case"done":c.onDone(()=>f(l&&Fn(l,"done",c)));break;case"destroy":c.onDestroy(()=>f(l&&Fn(l,"destroy",c)))}}function Fn(c,o,l){const D=$r(c.element,c.triggerName,c.fromState,c.toState,o||c.phaseName,l.totalTime??c.totalTime,!!l.disabled),M=c._data;return null!=M&&(D._data=M),D}function $r(c,o,l,f,m="",D=0,M){return{element:c,triggerName:o,fromState:l,toState:f,phaseName:m,totalTime:D,disabled:!!M}}function Gr(c,o,l){let f=c.get(o);return f||c.set(o,f=l),f}function Ro(c){const o=c.indexOf(":");return[c.substring(1,o),c.slice(o+1)]}let Ko=(c,o)=>!1,so=(c,o,l)=>[],Tu=null;function Is(c){const o=c.parentNode||c.host;return o===Tu?null:o}(De()||typeof Element<"u")&&(q()?(Tu=(()=>document.documentElement)(),Ko=(c,o)=>{for(;o;){if(o===c)return!0;o=Is(o)}return!1}):Ko=(c,o)=>c.contains(o),so=(c,o,l)=>{if(l)return Array.from(c.querySelectorAll(o));const f=c.querySelector(o);return f?[f]:[]});let Jo=null,Ka=!1;const Ja=Ko,Aa=so;let ac=(()=>{class c{validateStyleProperty(l){return function Il(c){Jo||(Jo=function la(){return typeof document<"u"?document.body:null}()||{},Ka=!!Jo.style&&"WebkitAppearance"in Jo.style);let o=!0;return Jo.style&&!function qa(c){return"ebkit"==c.substring(1,6)}(c)&&(o=c in Jo.style,!o&&Ka&&(o="Webkit"+c.charAt(0).toUpperCase()+c.slice(1)in Jo.style)),o}(l)}matchesElement(l,f){return!1}containsElement(l,f){return Ja(l,f)}getParentElement(l){return Is(l)}query(l,f,m){return Aa(l,f,m)}computeStyle(l,f,m){return m||""}animate(l,f,m,D,M,x=[],G){return new rr.ZN(m,D)}}return c.\u0275fac=function(l){return new(l||c)},c.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac}),c})(),Su=(()=>{class c{}return c.NOOP=new ac,c})();const Qa=1e3,ou="ng-enter",Rl="ng-leave",Xa="ng-trigger",Mu=".ng-trigger",Nu="ng-animating",Pl=".ng-animating";function Po(c){if("number"==typeof c)return c;const o=c.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:Rs(parseFloat(o[1]),o[2])}function Rs(c,o){return"s"===o?c*Qa:c}function el(c,o,l){return c.hasOwnProperty("duration")?c:function ld(c,o,l){let m,D=0,M="";if("string"==typeof c){const x=c.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===x)return o.push(Ma()),{duration:0,delay:0,easing:""};m=Rs(parseFloat(x[1]),x[2]);const G=x[3];null!=G&&(D=Rs(parseFloat(G),x[4]));const Q=x[5];Q&&(M=Q)}else m=c;if(!l){let x=!1,G=o.length;m<0&&(o.push(function Io(){return new L.vHH(3100,!1)}()),x=!0),D<0&&(o.push(function ra(){return new L.vHH(3101,!1)}()),x=!0),x&&o.splice(G,0,Ma())}return{duration:m,delay:D,easing:M}}(c,o,l)}function tl(c,o={}){return Object.keys(c).forEach(l=>{o[l]=c[l]}),o}function lc(c){const o=new Map;return Object.keys(c).forEach(l=>{o.set(l,c[l])}),o}function Ps(c,o=new Map,l){if(l)for(let[f,m]of l)o.set(f,m);for(let[f,m]of c)o.set(f,m);return o}function cc(c,o,l){return l?o+":"+l+";":""}function su(c){let o="";for(let l=0;l{const D=xl(m);l&&!l.has(m)&&l.set(m,c.style[D]),c.style[D]=f}),De()&&su(c))}function nl(c,o){c.style&&(o.forEach((l,f)=>{const m=xl(f);c.style[m]=""}),De()&&su(c))}function Ia(c){return Array.isArray(c)?1==c.length?c[0]:(0,rr.vP)(c):c}const dc=new RegExp("{{\\s*(.+?)\\s*}}","g");function ud(c){let o=[];if("string"==typeof c){let l;for(;l=dc.exec(c);)o.push(l[1]);dc.lastIndex=0}return o}function au(c,o,l){const f=c.toString(),m=f.replace(dc,(D,M)=>{let x=o[M];return null==x&&(l.push(function bu(c){return new L.vHH(3003,!1)}()),x=""),x.toString()});return m==f?c:m}function Au(c){const o=[];let l=c.next();for(;!l.done;)o.push(l.value),l=c.next();return o}const fc=/-+([a-z0-9])/g;function xl(c){return c.replace(fc,(...o)=>o[1].toUpperCase())}function lu(c){return c.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ao(c,o,l){switch(o.type){case 7:return c.visitTrigger(o,l);case 0:return c.visitState(o,l);case 1:return c.visitTransition(o,l);case 2:return c.visitSequence(o,l);case 3:return c.visitGroup(o,l);case 4:return c.visitAnimate(o,l);case 5:return c.visitKeyframes(o,l);case 6:return c.visitStyle(o,l);case 8:return c.visitReference(o,l);case 9:return c.visitAnimateChild(o,l);case 10:return c.visitAnimateRef(o,l);case 11:return c.visitQuery(o,l);case 12:return c.visitStagger(o,l);default:throw function Nl(c){return new L.vHH(3004,!1)}()}}function xo(c,o){return window.getComputedStyle(c)[o]}const Pu="*";function dd(c,o){const l=[];return"string"==typeof c?c.split(/\s*,\s*/).forEach(f=>function nf(c,o,l){if(":"==c[0]){const G=function rf(c,o){switch(c){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,f)=>parseFloat(f)>parseFloat(l);case":decrement":return(l,f)=>parseFloat(f) *"}}(c,l);if("function"==typeof G)return void o.push(G);c=G}const f=c.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==f||f.length<4)return l.push(function Eu(c){return new L.vHH(3015,!1)}()),o;const m=f[1],D=f[2],M=f[3];o.push(pc(m,M));"<"==D[0]&&!(m==Pu&&M==Pu)&&o.push(pc(M,m))}(f,l,o)):l.push(c),l}const ki=new Set(["true","1"]),Fl=new Set(["false","0"]);function pc(c,o){const l=ki.has(c)||Fl.has(c),f=ki.has(o)||Fl.has(o);return(m,D)=>{let M=c==Pu||c==m,x=o==Pu||o==D;return!M&&l&&"boolean"==typeof m&&(M=m?ki.has(c):Fl.has(c)),!x&&f&&"boolean"==typeof D&&(x=D?ki.has(o):Fl.has(o)),M&&x}}const Li=new RegExp("s*:selfs*,?","g");function rl(c,o,l,f){return new fd(c).build(o,l,f)}class fd{constructor(o){this._driver=o}build(o,l,f){const m=new af(l);return this._resetContextStyleTimingState(m),ao(this,Ia(o),m)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,l){let f=l.queryCount=0,m=l.depCount=0;const D=[],M=[];return"@"==o.name.charAt(0)&&l.errors.push(function Os(){return new L.vHH(3006,!1)}()),o.definitions.forEach(x=>{if(this._resetContextStyleTimingState(l),0==x.type){const G=x,Q=G.name;Q.toString().split(/\s*,\s*/).forEach(ge=>{G.name=ge,D.push(this.visitState(G,l))}),G.name=Q}else if(1==x.type){const G=this.visitTransition(x,l);f+=G.queryCount,m+=G.depCount,M.push(G)}else l.errors.push(function qo(){return new L.vHH(3007,!1)}())}),{type:7,name:o.name,states:D,transitions:M,queryCount:f,depCount:m,options:null}}visitState(o,l){const f=this.visitStyle(o.styles,l),m=o.options&&o.options.params||null;if(f.containsDynamicStyles){const D=new Set,M=m||{};f.styles.forEach(x=>{x instanceof Map&&x.forEach(G=>{ud(G).forEach(Q=>{M.hasOwnProperty(Q)||D.add(Q)})})}),D.size&&(Au(D.values()),l.errors.push(function nu(c,o){return new L.vHH(3008,!1)}()))}return{type:0,name:o.name,style:f,options:m?{params:m}:null}}visitTransition(o,l){l.queryCount=0,l.depCount=0;const f=ao(this,Ia(o.animation),l);return{type:1,matchers:dd(o.expr,l.errors),animation:f,queryCount:l.queryCount,depCount:l.depCount,options:gi(o.options)}}visitSequence(o,l){return{type:2,steps:o.steps.map(f=>ao(this,f,l)),options:gi(o.options)}}visitGroup(o,l){const f=l.currentTime;let m=0;const D=o.steps.map(M=>{l.currentTime=f;const x=ao(this,M,l);return m=Math.max(m,l.currentTime),x});return l.currentTime=m,{type:3,steps:D,options:gi(o.options)}}visitAnimate(o,l){const f=function lf(c,o){if(c.hasOwnProperty("duration"))return c;if("number"==typeof c)return Tr(el(c,o).duration,0,"");const l=c;if(l.split(/\s+/).some(D=>"{"==D.charAt(0)&&"{"==D.charAt(1))){const D=Tr(0,0,"");return D.dynamic=!0,D.strValue=l,D}const m=el(l,o);return Tr(m.duration,m.delay,m.easing)}(o.timings,l.errors);l.currentAnimateTimings=f;let m,D=o.styles?o.styles:(0,rr.oB)({});if(5==D.type)m=this.visitKeyframes(D,l);else{let M=o.styles,x=!1;if(!M){x=!0;const Q={};f.easing&&(Q.easing=f.easing),M=(0,rr.oB)(Q)}l.currentTime+=f.duration+f.delay;const G=this.visitStyle(M,l);G.isEmptyStep=x,m=G}return l.currentAnimateTimings=null,{type:4,timings:f,style:m,options:null}}visitStyle(o,l){const f=this._makeStyleAst(o,l);return this._validateStyleAst(f,l),f}_makeStyleAst(o,l){const f=[],m=Array.isArray(o.styles)?o.styles:[o.styles];for(let x of m)"string"==typeof x?x===rr.l3?f.push(x):l.errors.push(new L.vHH(3002,!1)):f.push(lc(x));let D=!1,M=null;return f.forEach(x=>{if(x instanceof Map&&(x.has("easing")&&(M=x.get("easing"),x.delete("easing")),!D))for(let G of x.values())if(G.toString().indexOf("{{")>=0){D=!0;break}}),{type:6,styles:f,easing:M,offset:o.offset,containsDynamicStyles:D,options:null}}_validateStyleAst(o,l){const f=l.currentAnimateTimings;let m=l.currentTime,D=l.currentTime;f&&D>0&&(D-=f.duration+f.delay),o.styles.forEach(M=>{"string"!=typeof M&&M.forEach((x,G)=>{const Q=l.collectedStyles.get(l.currentQuerySelector),ge=Q.get(G);let Le=!0;ge&&(D!=m&&D>=ge.startTime&&m<=ge.endTime&&(l.errors.push(function ru(c,o,l,f,m){return new L.vHH(3010,!1)}()),Le=!1),D=ge.startTime),Le&&Q.set(G,{startTime:D,endTime:m}),l.options&&function ef(c,o,l){const f=o.params||{},m=ud(c);m.length&&m.forEach(D=>{f.hasOwnProperty(D)||l.push(function Ml(c){return new L.vHH(3001,!1)}())})}(x,l.options,l.errors)})})}visitKeyframes(o,l){const f={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push(function Du(){return new L.vHH(3011,!1)}()),f;let D=0;const M=[];let x=!1,G=!1,Q=0;const ge=o.steps.map(ln=>{const _r=this._makeStyleAst(ln,l);let Ji=null!=_r.offset?_r.offset:function Fu(c){if("string"==typeof c)return null;let o=null;if(Array.isArray(c))c.forEach(l=>{if(l instanceof Map&&l.has("offset")){const f=l;o=parseFloat(f.get("offset")),f.delete("offset")}});else if(c instanceof Map&&c.has("offset")){const l=c;o=parseFloat(l.get("offset")),l.delete("offset")}return o}(_r.styles),li=0;return null!=Ji&&(D++,li=_r.offset=Ji),G=G||li<0||li>1,x=x||li0&&D{const Ji=ct>0?_r==St?1:ct*_r:M[_r],li=Ji*On;l.currentTime=yt+Nt.delay+li,Nt.duration=li,this._validateStyleAst(ln,l),ln.offset=Ji,f.styles.push(ln)}),f}visitReference(o,l){return{type:8,animation:ao(this,Ia(o.animation),l),options:gi(o.options)}}visitAnimateChild(o,l){return l.depCount++,{type:9,options:gi(o.options)}}visitAnimateRef(o,l){return{type:10,animation:this.visitReference(o.animation,l),options:gi(o.options)}}visitQuery(o,l){const f=l.currentQuerySelector,m=o.options||{};l.queryCount++,l.currentQuery=o;const[D,M]=function sf(c){const o=!!c.split(/\s*,\s*/).find(l=>":self"==l);return o&&(c=c.replace(Li,"")),c=c.replace(/@\*/g,Mu).replace(/@\w+/g,l=>Mu+"-"+l.slice(1)).replace(/:animating/g,Pl),[c,o]}(o.selector);l.currentQuerySelector=f.length?f+" "+D:D,Gr(l.collectedStyles,l.currentQuerySelector,new Map);const x=ao(this,Ia(o.animation),l);return l.currentQuery=null,l.currentQuerySelector=f,{type:11,selector:D,limit:m.limit||0,optional:!!m.optional,includeSelf:M,animation:x,originalSelector:o.selector,options:gi(o.options)}}visitStagger(o,l){l.currentQuery||l.errors.push(function Al(){return new L.vHH(3013,!1)}());const f="full"===o.timings?{duration:0,delay:0,easing:"full"}:el(o.timings,l.errors,!0);return{type:12,animation:ao(this,Ia(o.animation),l),timings:f,options:null}}}class af{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function gi(c){return c?(c=tl(c)).params&&(c.params=function hd(c){return c?tl(c):null}(c.params)):c={},c}function Tr(c,o,l){return{duration:c,delay:o,easing:l}}function kl(c,o,l,f,m,D,M=null,x=!1){return{type:1,element:c,keyframes:o,preStyleProps:l,postStyleProps:f,duration:m,delay:D,totalTime:m+D,easing:M,subTimeline:x}}class Ra{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,l){let f=this._map.get(o);f||this._map.set(o,f=[]),f.push(...l)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Bl=new RegExp(":enter","g"),uf=new RegExp(":leave","g");function Fs(c,o,l,f,m,D=new Map,M=new Map,x,G,Q=[]){return(new il).buildKeyframes(c,o,l,f,m,D,M,x,G,Q)}class il{buildKeyframes(o,l,f,m,D,M,x,G,Q,ge=[]){Q=Q||new Ra;const Le=new ua(o,l,Q,m,D,ge,[]);Le.options=G;const ct=G.delay?Po(G.delay):0;Le.currentTimeline.delayNextStep(ct),Le.currentTimeline.setStyles([M],null,Le.errors,G),ao(this,f,Le);const St=Le.timelines.filter(yt=>yt.containsAnimation());if(St.length&&x.size){let yt;for(let Nt=St.length-1;Nt>=0;Nt--){const On=St[Nt];if(On.element===l){yt=On;break}}yt&&!yt.allowOnlyTimelineStyles()&&yt.setStyles([x],null,Le.errors,G)}return St.length?St.map(yt=>yt.buildKeyframes()):[kl(l,[],[],[],0,ct,"",!1)]}visitTrigger(o,l){}visitState(o,l){}visitTransition(o,l){}visitAnimateChild(o,l){const f=l.subInstructions.get(l.element);if(f){const m=l.createSubContext(o.options),D=l.currentTimeline.currentTime,M=this._visitSubInstructions(f,m,m.options);D!=M&&l.transformIntoNewTimeline(M)}l.previousNode=o}visitAnimateRef(o,l){const f=l.createSubContext(o.options);f.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],l,f),this.visitReference(o.animation,f),l.transformIntoNewTimeline(f.currentTimeline.currentTime),l.previousNode=o}_applyAnimationRefDelays(o,l,f){for(const m of o){const D=m?.delay;if(D){const M="number"==typeof D?D:Po(au(D,m?.params??{},l.errors));f.delayNextStep(M)}}}_visitSubInstructions(o,l,f){let D=l.currentTimeline.currentTime;const M=null!=f.duration?Po(f.duration):null,x=null!=f.delay?Po(f.delay):null;return 0!==M&&o.forEach(G=>{const Q=l.appendInstructionToTimeline(G,M,x);D=Math.max(D,Q.duration+Q.delay)}),D}visitReference(o,l){l.updateOptions(o.options,!0),ao(this,o.animation,l),l.previousNode=o}visitSequence(o,l){const f=l.subContextCount;let m=l;const D=o.options;if(D&&(D.params||D.delay)&&(m=l.createSubContext(D),m.transformIntoNewTimeline(),null!=D.delay)){6==m.previousNode.type&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=ol);const M=Po(D.delay);m.delayNextStep(M)}o.steps.length&&(o.steps.forEach(M=>ao(this,M,m)),m.currentTimeline.applyStylesToKeyframe(),m.subContextCount>f&&m.transformIntoNewTimeline()),l.previousNode=o}visitGroup(o,l){const f=[];let m=l.currentTimeline.currentTime;const D=o.options&&o.options.delay?Po(o.options.delay):0;o.steps.forEach(M=>{const x=l.createSubContext(o.options);D&&x.delayNextStep(D),ao(this,M,x),m=Math.max(m,x.currentTimeline.currentTime),f.push(x.currentTimeline)}),f.forEach(M=>l.currentTimeline.mergeTimelineCollectedStyles(M)),l.transformIntoNewTimeline(m),l.previousNode=o}_visitTiming(o,l){if(o.dynamic){const f=o.strValue;return el(l.params?au(f,l.params,l.errors):f,l.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,l){const f=l.currentAnimateTimings=this._visitTiming(o.timings,l),m=l.currentTimeline;f.delay&&(l.incrementTime(f.delay),m.snapshotCurrentStyles());const D=o.style;5==D.type?this.visitKeyframes(D,l):(l.incrementTime(f.duration),this.visitStyle(D,l),m.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=o}visitStyle(o,l){const f=l.currentTimeline,m=l.currentAnimateTimings;!m&&f.hasCurrentStyleProperties()&&f.forwardFrame();const D=m&&m.easing||o.easing;o.isEmptyStep?f.applyEmptyStep(D):f.setStyles(o.styles,D,l.errors,l.options),l.previousNode=o}visitKeyframes(o,l){const f=l.currentAnimateTimings,m=l.currentTimeline.duration,D=f.duration,x=l.createSubContext().currentTimeline;x.easing=f.easing,o.styles.forEach(G=>{x.forwardTime((G.offset||0)*D),x.setStyles(G.styles,G.easing,l.errors,l.options),x.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(x),l.transformIntoNewTimeline(m+D),l.previousNode=o}visitQuery(o,l){const f=l.currentTimeline.currentTime,m=o.options||{},D=m.delay?Po(m.delay):0;D&&(6===l.previousNode.type||0==f&&l.currentTimeline.hasCurrentStyleProperties())&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=ol);let M=f;const x=l.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!m.optional,l.errors);l.currentQueryTotal=x.length;let G=null;x.forEach((Q,ge)=>{l.currentQueryIndex=ge;const Le=l.createSubContext(o.options,Q);D&&Le.delayNextStep(D),Q===l.element&&(G=Le.currentTimeline),ao(this,o.animation,Le),Le.currentTimeline.applyStylesToKeyframe(),M=Math.max(M,Le.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(M),G&&(l.currentTimeline.mergeTimelineCollectedStyles(G),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=o}visitStagger(o,l){const f=l.parentContext,m=l.currentTimeline,D=o.timings,M=Math.abs(D.duration),x=M*(l.currentQueryTotal-1);let G=M*l.currentQueryIndex;switch(D.duration<0?"reverse":D.easing){case"reverse":G=x-G;break;case"full":G=f.currentStaggerTime}const ge=l.currentTimeline;G&&ge.delayNextStep(G);const Le=ge.currentTime;ao(this,o.animation,l),l.previousNode=o,f.currentStaggerTime=m.currentTime-Le+(m.startTime-f.currentTimeline.startTime)}}const ol={};class ua{constructor(o,l,f,m,D,M,x,G){this._driver=o,this.element=l,this.subInstructions=f,this._enterClassName=m,this._leaveClassName=D,this.errors=M,this.timelines=x,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ol,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=G||new sl(this._driver,l,0),x.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,l){if(!o)return;const f=o;let m=this.options;null!=f.duration&&(m.duration=Po(f.duration)),null!=f.delay&&(m.delay=Po(f.delay));const D=f.params;if(D){let M=m.params;M||(M=this.options.params={}),Object.keys(D).forEach(x=>{(!l||!M.hasOwnProperty(x))&&(M[x]=au(D[x],M,this.errors))})}}_copyOptions(){const o={};if(this.options){const l=this.options.params;if(l){const f=o.params={};Object.keys(l).forEach(m=>{f[m]=l[m]})}}return o}createSubContext(o=null,l,f){const m=l||this.element,D=new ua(this._driver,m,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(m,f||0));return D.previousNode=this.previousNode,D.currentAnimateTimings=this.currentAnimateTimings,D.options=this._copyOptions(),D.updateOptions(o),D.currentQueryIndex=this.currentQueryIndex,D.currentQueryTotal=this.currentQueryTotal,D.parentContext=this,this.subContextCount++,D}transformIntoNewTimeline(o){return this.previousNode=ol,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,l,f){const m={duration:l??o.duration,delay:this.currentTimeline.currentTime+(f??0)+o.delay,easing:""},D=new mc(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,m,o.stretchStartingKeyframe);return this.timelines.push(D),m}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,l,f,m,D,M){let x=[];if(m&&x.push(this.element),o.length>0){o=(o=o.replace(Bl,"."+this._enterClassName)).replace(uf,"."+this._leaveClassName);let Q=this._driver.query(this.element,o,1!=f);0!==f&&(Q=f<0?Q.slice(Q.length+f,Q.length):Q.slice(0,f)),x.push(...Q)}return!D&&0==x.length&&M.push(function ic(c){return new L.vHH(3014,!1)}()),x}}class sl{constructor(o,l,f,m){this._driver=o,this.element=l,this.startTime=f,this._elementTimelineStylesLookup=m,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const l=1===this._keyframes.size&&this._pendingStyles.size;this.duration||l?(this.forwardTime(this.currentTime+o),l&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,l){return this.applyStylesToKeyframe(),new sl(this._driver,o,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,l){this._localTimelineStyles.set(o,l),this._globalTimelineStyles.set(o,l),this._styleSummary.set(o,{time:this.currentTime,value:l})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[l,f]of this._globalTimelineStyles)this._backFill.set(l,f||rr.l3),this._currentKeyframe.set(l,rr.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,l,f,m){l&&this._previousKeyframe.set("easing",l);const D=m&&m.params||{},M=function ca(c,o){const l=new Map;let f;return c.forEach(m=>{if("*"===m){f=f||o.keys();for(let D of f)l.set(D,rr.l3)}else Ps(m,l)}),l}(o,this._globalTimelineStyles);for(let[x,G]of M){const Q=au(G,D,f);this._pendingStyles.set(x,Q),this._localTimelineStyles.has(x)||this._backFill.set(x,this._globalTimelineStyles.get(x)??rr.l3),this._updateStyle(x,Q)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,l)=>{this._currentKeyframe.set(l,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,l)=>{this._currentKeyframe.has(l)||this._currentKeyframe.set(l,o)}))}snapshotCurrentStyles(){for(let[o,l]of this._localTimelineStyles)this._pendingStyles.set(o,l),this._updateStyle(o,l)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let l in this._currentKeyframe)o.push(l);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((l,f)=>{const m=this._styleSummary.get(f);(!m||l.time>m.time)&&this._updateStyle(f,l.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,l=new Set,f=1===this._keyframes.size&&0===this.duration;let m=[];this._keyframes.forEach((x,G)=>{const Q=Ps(x,new Map,this._backFill);Q.forEach((ge,Le)=>{ge===rr.k1?o.add(Le):ge===rr.l3&&l.add(Le)}),f||Q.set("offset",G/this.duration),m.push(Q)});const D=o.size?Au(o.values()):[],M=l.size?Au(l.values()):[];if(f){const x=m[0],G=new Map(x);x.set("offset",0),G.set("offset",1),m=[x,G]}return kl(this.element,m,D,M,this.duration,this.startTime,this.easing,!1)}}class mc extends sl{constructor(o,l,f,m,D,M,x=!1){super(o,l,M.delay),this.keyframes=f,this.preStyleProps=m,this.postStyleProps=D,this._stretchStartingKeyframe=x,this.timings={duration:M.duration,delay:M.delay,easing:M.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:l,duration:f,easing:m}=this.timings;if(this._stretchStartingKeyframe&&l){const D=[],M=f+l,x=l/M,G=Ps(o[0]);G.set("offset",0),D.push(G);const Q=Ps(o[0]);Q.set("offset",_c(x)),D.push(Q);const ge=o.length-1;for(let Le=1;Le<=ge;Le++){let ct=Ps(o[Le]);const St=ct.get("offset");ct.set("offset",_c((l+St*f)/M)),D.push(ct)}f=M,l=0,m="",o=D}return kl(this.element,o,this.preStyleProps,this.postStyleProps,f,l,m,!0)}}function _c(c,o=3){const l=Math.pow(10,o-1);return Math.round(c*l)/l}class Pa{}const vc=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class du extends Pa{normalizePropertyName(o,l){return xl(o)}normalizeStyleValue(o,l,f,m){let D="";const M=f.toString().trim();if(vc.has(l)&&0!==f&&"0"!==f)if("number"==typeof f)D="px";else{const x=f.match(/^[+-]?[\d\.]+([a-z]*)$/);x&&0==x[1].length&&m.push(function Yo(c,o){return new L.vHH(3005,!1)}())}return M+D}}function da(c,o,l,f,m,D,M,x,G,Q,ge,Le,ct){return{type:0,element:c,triggerName:o,isRemovalTransition:m,fromState:l,fromStyles:D,toState:f,toStyles:M,timelines:x,queriedElements:G,preStyleProps:Q,postStyleProps:ge,totalTime:Le,errors:ct}}const Vl={};class Bu{constructor(o,l,f){this._triggerName=o,this.ast=l,this._stateStyles=f}match(o,l,f,m){return function yc(c,o,l,f,m){return c.some(D=>D(o,l,f,m))}(this.ast.matchers,o,l,f,m)}buildStyles(o,l,f){let m=this._stateStyles.get("*");return void 0!==o&&(m=this._stateStyles.get(o?.toString())||m),m?m.buildStyles(l,f):new Map}build(o,l,f,m,D,M,x,G,Q,ge){const Le=[],ct=this.ast.options&&this.ast.options.params||Vl,yt=this.buildStyles(f,x&&x.params||Vl,Le),Nt=G&&G.params||Vl,On=this.buildStyles(m,Nt,Le),ln=new Set,_r=new Map,Ji=new Map,li="void"===m,_a={params:df(Nt,ct),delay:this.ast.options?.delay},Qo=ge?[]:Fs(o,l,this.ast.animation,D,M,yt,On,_a,Q,Le);let Zi=0;if(Qo.forEach(Vs=>{Zi=Math.max(Vs.duration+Vs.delay,Zi)}),Le.length)return da(l,this._triggerName,f,m,li,yt,On,[],[],_r,Ji,Zi,Le);Qo.forEach(Vs=>{const vs=Vs.element,Nd=Gr(_r,vs,new Set);Vs.preStyleProps.forEach(ys=>Nd.add(ys));const Yl=Gr(Ji,vs,new Set);Vs.postStyleProps.forEach(ys=>Yl.add(ys)),vs!==l&&ln.add(vs)});const Bs=Au(ln.values());return da(l,this._triggerName,f,m,li,yt,On,Qo,Bs,_r,Ji,Zi)}}function df(c,o){const l=tl(o);for(const f in c)c.hasOwnProperty(f)&&null!=c[f]&&(l[f]=c[f]);return l}class ff{constructor(o,l,f){this.styles=o,this.defaultParams=l,this.normalizer=f}buildStyles(o,l){const f=new Map,m=tl(this.defaultParams);return Object.keys(o).forEach(D=>{const M=o[D];null!==M&&(m[D]=M)}),this.styles.styles.forEach(D=>{"string"!=typeof D&&D.forEach((M,x)=>{M&&(M=au(M,m,l));const G=this.normalizer.normalizePropertyName(x,l);M=this.normalizer.normalizeStyleValue(x,G,M,l),f.set(x,M)})}),f}}class md{constructor(o,l,f){this.name=o,this.ast=l,this._normalizer=f,this.transitionFactories=[],this.states=new Map,l.states.forEach(m=>{this.states.set(m.name,new ff(m.style,m.options&&m.options.params||{},f))}),bc(this.states,"true","1"),bc(this.states,"false","0"),l.transitions.forEach(m=>{this.transitionFactories.push(new Bu(o,m,this.states))}),this.fallbackTransition=function ll(c,o,l){return new Bu(c,{type:1,animation:{type:2,steps:[],options:null},matchers:[(M,x)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,l,f,m){return this.transitionFactories.find(M=>M.match(o,l,f,m))||null}matchStyles(o,l,f){return this.fallbackTransition.buildStyles(o,l,f)}}function bc(c,o,l){c.has(o)?c.has(l)||c.set(l,c.get(o)):c.has(l)&&c.set(o,c.get(l))}const _d=new Ra;class hf{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,l){const f=[],m=[],D=rl(this._driver,l,f,m);if(f.length)throw function Or(c){return new L.vHH(3503,!1)}();this._animations.set(o,D)}_buildPlayer(o,l,f){const m=o.element,D=Rt(0,this._normalizer,0,o.keyframes,l,f);return this._driver.animate(m,D,o.duration,o.delay,o.easing,[],!0)}create(o,l,f={}){const m=[],D=this._animations.get(o);let M;const x=new Map;if(D?(M=Fs(this._driver,l,D,ou,Rl,new Map,new Map,f,_d,m),M.forEach(ge=>{const Le=Gr(x,ge.element,new Map);ge.postStyleProps.forEach(ct=>Le.set(ct,null))})):(m.push(function sa(){return new L.vHH(3300,!1)}()),M=[]),m.length)throw function Oa(c){return new L.vHH(3504,!1)}();x.forEach((ge,Le)=>{ge.forEach((ct,St)=>{ge.set(St,this._driver.computeStyle(Le,St,rr.l3))})});const Q=Qe(M.map(ge=>{const Le=x.get(ge.element);return this._buildPlayer(ge,new Map,Le)}));return this._playersById.set(o,Q),Q.onDestroy(()=>this.destroy(o)),this.players.push(Q),Q}destroy(o){const l=this._getPlayer(o);l.destroy(),this._playersById.delete(o);const f=this.players.indexOf(l);f>=0&&this.players.splice(f,1)}_getPlayer(o){const l=this._playersById.get(o);if(!l)throw function iu(c){return new L.vHH(3301,!1)}();return l}listen(o,l,f,m){const D=$r(l,"","","");return Vt(this._getPlayer(o),f,D,m),()=>{}}command(o,l,f,m){if("register"==f)return void this.register(o,m[0]);if("create"==f)return void this.create(o,l,m[0]||{});const D=this._getPlayer(o);switch(f){case"play":D.play();break;case"pause":D.pause();break;case"reset":D.reset();break;case"restart":D.restart();break;case"finish":D.finish();break;case"init":D.init();break;case"setPosition":D.setPosition(parseFloat(m[0]));break;case"destroy":this.destroy(o)}}}const pf="ng-animate-queued",Dc="ng-animate-disabled",Uu=[],wc={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Hl={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Bi="__ng_removed";class xa{get params(){return this.options.params}constructor(o,l=""){this.namespaceId=l;const f=o&&o.hasOwnProperty("value");if(this.value=function Dd(c){return c??null}(f?o.value:o),f){const D=tl(o);delete D.value,this.options=D}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const l=o.params;if(l){const f=this.options.params;Object.keys(l).forEach(m=>{null==f[m]&&(f[m]=l[m])})}}}const Fa="void",fa=new xa(Fa);class Ec{constructor(o,l,f){this.id=o,this.hostElement=l,this._engine=f,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,lo(l,this._hostClassName)}listen(o,l,f,m){if(!this._triggers.has(l))throw function Ki(c,o){return new L.vHH(3302,!1)}();if(null==f||0==f.length)throw function aa(c){return new L.vHH(3303,!1)}();if(!function wd(c){return"start"==c||"done"==c}(f))throw function v(c,o){return new L.vHH(3400,!1)}();const D=Gr(this._elementListeners,o,[]),M={name:l,phase:f,callback:m};D.push(M);const x=Gr(this._engine.statesByElement,o,new Map);return x.has(l)||(lo(o,Xa),lo(o,Xa+"-"+l),x.set(l,fa)),()=>{this._engine.afterFlush(()=>{const G=D.indexOf(M);G>=0&&D.splice(G,1),this._triggers.has(l)||x.delete(l)})}}register(o,l){return!this._triggers.has(o)&&(this._triggers.set(o,l),!0)}_getTrigger(o){const l=this._triggers.get(o);if(!l)throw function b(c){return new L.vHH(3401,!1)}();return l}trigger(o,l,f,m=!0){const D=this._getTrigger(l),M=new ks(this.id,l,o);let x=this._engine.statesByElement.get(o);x||(lo(o,Xa),lo(o,Xa+"-"+l),this._engine.statesByElement.set(o,x=new Map));let G=x.get(l);const Q=new xa(f,this.id);if(!(f&&f.hasOwnProperty("value"))&&G&&Q.absorbOptions(G.options),x.set(l,Q),G||(G=fa),Q.value!==Fa&&G.value===Q.value){if(!function Sc(c,o){const l=Object.keys(c),f=Object.keys(o);if(l.length!=f.length)return!1;for(let m=0;m{nl(o,On),xs(o,ln)})}return}const ct=Gr(this._engine.playersByElement,o,[]);ct.forEach(Nt=>{Nt.namespaceId==this.id&&Nt.triggerName==l&&Nt.queued&&Nt.destroy()});let St=D.matchTransition(G.value,Q.value,o,Q.params),yt=!1;if(!St){if(!m)return;St=D.fallbackTransition,yt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:St,fromState:G,toState:Q,player:M,isFallbackTransition:yt}),yt||(lo(o,pf),M.onStart(()=>{Zo(o,pf)})),M.onDone(()=>{let Nt=this.players.indexOf(M);Nt>=0&&this.players.splice(Nt,1);const On=this._engine.playersByElement.get(o);if(On){let ln=On.indexOf(M);ln>=0&&On.splice(ln,1)}}),this.players.push(M),ct.push(M),M}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(l=>l.delete(o)),this._elementListeners.forEach((l,f)=>{this._elementListeners.set(f,l.filter(m=>m.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const l=this._engine.playersByElement.get(o);l&&(l.forEach(f=>f.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,l){const f=this._engine.driver.query(o,Mu,!0);f.forEach(m=>{if(m[Bi])return;const D=this._engine.fetchNamespacesByElement(m);D.size?D.forEach(M=>M.triggerLeaveAnimation(m,l,!1,!0)):this.clearElementCache(m)}),this._engine.afterFlushAnimationsDone(()=>f.forEach(m=>this.clearElementCache(m)))}triggerLeaveAnimation(o,l,f,m){const D=this._engine.statesByElement.get(o),M=new Map;if(D){const x=[];if(D.forEach((G,Q)=>{if(M.set(Q,G.value),this._triggers.has(Q)){const ge=this.trigger(o,Q,Fa,m);ge&&x.push(ge)}}),x.length)return this._engine.markElementAsRemoved(this.id,o,!0,l,M),f&&Qe(x).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const l=this._elementListeners.get(o),f=this._engine.statesByElement.get(o);if(l&&f){const m=new Set;l.forEach(D=>{const M=D.name;if(m.has(M))return;m.add(M);const G=this._triggers.get(M).fallbackTransition,Q=f.get(M)||fa,ge=new xa(Fa),Le=new ks(this.id,M,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:M,transition:G,fromState:Q,toState:ge,player:Le,isFallbackTransition:!0})})}}removeNode(o,l){const f=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,l),this.triggerLeaveAnimation(o,l,!0))return;let m=!1;if(f.totalAnimations){const D=f.players.length?f.playersByQueriedElement.get(o):[];if(D&&D.length)m=!0;else{let M=o;for(;M=M.parentNode;)if(f.statesByElement.get(M)){m=!0;break}}}if(this.prepareLeaveAnimationListeners(o),m)f.markElementAsRemoved(this.id,o,!1,l);else{const D=o[Bi];(!D||D===wc)&&(f.afterFlush(()=>this.clearElementCache(o)),f.destroyInnerAnimations(o),f._onRemovalComplete(o,l))}}insertNode(o,l){lo(o,this._hostClassName)}drainQueuedTransitions(o){const l=[];return this._queue.forEach(f=>{const m=f.player;if(m.destroyed)return;const D=f.element,M=this._elementListeners.get(D);M&&M.forEach(x=>{if(x.name==f.triggerName){const G=$r(D,f.triggerName,f.fromState.value,f.toState.value);G._data=o,Vt(f.player,x.phase,G,x.callback)}}),m.markedForDestroy?this._engine.afterFlush(()=>{m.destroy()}):l.push(f)}),this._queue=[],l.sort((f,m)=>{const D=f.transition.ast.depCount,M=m.transition.ast.depCount;return 0==D||0==M?D-M:this._engine.driver.containsElement(f.element,m.element)?1:-1})}destroy(o){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let l=!1;return this._elementListeners.has(o)&&(l=!0),l=!!this._queue.find(f=>f.element===o)||l,l}}class ul{_onRemovalComplete(o,l){this.onRemovalComplete(o,l)}constructor(o,l,f){this.bodyNode=o,this.driver=l,this._normalizer=f,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(m,D)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(l=>{l.players.forEach(f=>{f.queued&&o.push(f)})}),o}createNamespace(o,l){const f=new Ec(o,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(f,l):(this.newHostElements.set(l,f),this.collectEnterElement(l)),this._namespaceLookup[o]=f}_balanceNamespaceList(o,l){const f=this._namespaceList,m=this.namespacesByHostElement;if(f.length-1>=0){let M=!1,x=this.driver.getParentElement(l);for(;x;){const G=m.get(x);if(G){const Q=f.indexOf(G);f.splice(Q+1,0,o),M=!0;break}x=this.driver.getParentElement(x)}M||f.unshift(o)}else f.push(o);return m.set(l,o),o}register(o,l){let f=this._namespaceLookup[o];return f||(f=this.createNamespace(o,l)),f}registerTrigger(o,l,f){let m=this._namespaceLookup[o];m&&m.register(l,f)&&this.totalAnimations++}destroy(o,l){if(!o)return;const f=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(f.hostElement),delete this._namespaceLookup[o];const m=this._namespaceList.indexOf(f);m>=0&&this._namespaceList.splice(m,1)}),this.afterFlushAnimationsDone(()=>f.destroy(l))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const l=new Set,f=this.statesByElement.get(o);if(f)for(let m of f.values())if(m.namespaceId){const D=this._fetchNamespace(m.namespaceId);D&&l.add(D)}return l}trigger(o,l,f,m){if(Ul(l)){const D=this._fetchNamespace(o);if(D)return D.trigger(l,f,m),!0}return!1}insertNode(o,l,f,m){if(!Ul(l))return;const D=l[Bi];if(D&&D.setForRemoval){D.setForRemoval=!1,D.setForMove=!0;const M=this.collectedLeaveElements.indexOf(l);M>=0&&this.collectedLeaveElements.splice(M,1)}if(o){const M=this._fetchNamespace(o);M&&M.insertNode(l,f)}m&&this.collectEnterElement(l)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,l){l?this.disabledNodes.has(o)||(this.disabledNodes.add(o),lo(o,Dc)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Zo(o,Dc))}removeNode(o,l,f,m){if(Ul(l)){const D=o?this._fetchNamespace(o):null;if(D?D.removeNode(l,m):this.markElementAsRemoved(o,l,!1,m),f){const M=this.namespacesByHostElement.get(l);M&&M.id!==o&&M.removeNode(l,m)}}else this._onRemovalComplete(l,m)}markElementAsRemoved(o,l,f,m,D){this.collectedLeaveElements.push(l),l[Bi]={namespaceId:o,setForRemoval:m,hasAnimation:f,removedBeforeQueried:!1,previousTriggersValues:D}}listen(o,l,f,m,D){return Ul(l)?this._fetchNamespace(o).listen(l,f,m,D):()=>{}}_buildInstruction(o,l,f,m,D){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,f,m,o.fromState.options,o.toState.options,l,D)}destroyInnerAnimations(o){let l=this.driver.query(o,Mu,!0);l.forEach(f=>this.destroyActiveAnimationsForElement(f)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(o,Pl,!0),l.forEach(f=>this.finishActiveQueriedAnimationOnElement(f)))}destroyActiveAnimationsForElement(o){const l=this.playersByElement.get(o);l&&l.forEach(f=>{f.queued?f.markedForDestroy=!0:f.destroy()})}finishActiveQueriedAnimationOnElement(o){const l=this.playersByQueriedElement.get(o);l&&l.forEach(f=>f.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Qe(this.players).onDone(()=>o());o()})}processLeaveNode(o){const l=o[Bi];if(l&&l.setForRemoval){if(o[Bi]=wc,l.namespaceId){this.destroyInnerAnimations(o);const f=this._fetchNamespace(l.namespaceId);f&&f.clearElementCache(o)}this._onRemovalComplete(o,l.setForRemoval)}o.classList?.contains(Dc)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(f=>{this.markElementAsDisabled(f,!1)})}flush(o=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((f,m)=>this._balanceNamespaceList(f,m)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let f=0;ff()),this._flushFns=[],this._whenQuietFns.length){const f=this._whenQuietFns;this._whenQuietFns=[],l.length?Qe(l).onDone(()=>{f.forEach(m=>m())}):f.forEach(m=>m())}}reportError(o){throw function g(c){return new L.vHH(3402,!1)}()}_flushAnimations(o,l){const f=new Ra,m=[],D=new Map,M=[],x=new Map,G=new Map,Q=new Map,ge=new Set;this.disabledNodes.forEach(nn=>{ge.add(nn);const cn=this.driver.query(nn,".ng-animate-queued",!0);for(let Dn=0;Dn{const Dn=ou+Nt++;yt.set(cn,Dn),nn.forEach(lr=>lo(lr,Dn))});const On=[],ln=new Set,_r=new Set;for(let nn=0;nnln.add(lr)):_r.add(cn))}const Ji=new Map,li=Ls(ct,Array.from(ln));li.forEach((nn,cn)=>{const Dn=Rl+Nt++;Ji.set(cn,Dn),nn.forEach(lr=>lo(lr,Dn))}),o.push(()=>{St.forEach((nn,cn)=>{const Dn=yt.get(cn);nn.forEach(lr=>Zo(lr,Dn))}),li.forEach((nn,cn)=>{const Dn=Ji.get(cn);nn.forEach(lr=>Zo(lr,Dn))}),On.forEach(nn=>{this.processLeaveNode(nn)})});const _a=[],Qo=[];for(let nn=this._namespaceList.length-1;nn>=0;nn--)this._namespaceList[nn].drainQueuedTransitions(l).forEach(Dn=>{const lr=Dn.player,mi=Dn.element;if(_a.push(lr),this.collectedEnterElements.length){const _i=mi[Bi];if(_i&&_i.setForMove){if(_i.previousTriggersValues&&_i.previousTriggersValues.has(Dn.triggerName)){const La=_i.previousTriggersValues.get(Dn.triggerName),Ti=this.statesByElement.get(Dn.element);if(Ti&&Ti.has(Dn.triggerName)){const Ku=Ti.get(Dn.triggerName);Ku.value=La,Ti.set(Dn.triggerName,Ku)}}return void lr.destroy()}}const bs=!Le||!this.driver.containsElement(Le,mi),Qi=Ji.get(mi),fl=yt.get(mi),Pr=this._buildInstruction(Dn,f,fl,Qi,bs);if(Pr.errors&&Pr.errors.length)return void Qo.push(Pr);if(bs)return lr.onStart(()=>nl(mi,Pr.fromStyles)),lr.onDestroy(()=>xs(mi,Pr.toStyles)),void m.push(lr);if(Dn.isFallbackTransition)return lr.onStart(()=>nl(mi,Pr.fromStyles)),lr.onDestroy(()=>xs(mi,Pr.toStyles)),void m.push(lr);const Od=[];Pr.timelines.forEach(_i=>{_i.stretchStartingKeyframe=!0,this.disabledNodes.has(_i.element)||Od.push(_i)}),Pr.timelines=Od,f.append(mi,Pr.timelines),M.push({instruction:Pr,player:lr,element:mi}),Pr.queriedElements.forEach(_i=>Gr(x,_i,[]).push(lr)),Pr.preStyleProps.forEach((_i,La)=>{if(_i.size){let Ti=G.get(La);Ti||G.set(La,Ti=new Set),_i.forEach((Ku,gu)=>Ti.add(gu))}}),Pr.postStyleProps.forEach((_i,La)=>{let Ti=Q.get(La);Ti||Q.set(La,Ti=new Set),_i.forEach((Ku,gu)=>Ti.add(gu))})});if(Qo.length){const nn=[];Qo.forEach(cn=>{nn.push(function P(c,o){return new L.vHH(3505,!1)}())}),_a.forEach(cn=>cn.destroy()),this.reportError(nn)}const Zi=new Map,Bs=new Map;M.forEach(nn=>{const cn=nn.element;f.has(cn)&&(Bs.set(cn,cn),this._beforeAnimationBuild(nn.player.namespaceId,nn.instruction,Zi))}),m.forEach(nn=>{const cn=nn.element;this._getPreviousPlayers(cn,!1,nn.namespaceId,nn.triggerName,null).forEach(lr=>{Gr(Zi,cn,[]).push(lr),lr.destroy()})});const Vs=On.filter(nn=>fu(nn,G,Q)),vs=new Map;$u(vs,this.driver,_r,Q,rr.l3).forEach(nn=>{fu(nn,G,Q)&&Vs.push(nn)});const Yl=new Map;St.forEach((nn,cn)=>{$u(Yl,this.driver,new Set(nn),G,rr.k1)}),Vs.forEach(nn=>{const cn=vs.get(nn),Dn=Yl.get(nn);vs.set(nn,new Map([...Array.from(cn?.entries()??[]),...Array.from(Dn?.entries()??[])]))});const ys=[],qu=[],kc={};M.forEach(nn=>{const{element:cn,player:Dn,instruction:lr}=nn;if(f.has(cn)){if(ge.has(cn))return Dn.onDestroy(()=>xs(cn,lr.toStyles)),Dn.disabled=!0,Dn.overrideTotalTime(lr.totalTime),void m.push(Dn);let mi=kc;if(Bs.size>1){let Qi=cn;const fl=[];for(;Qi=Qi.parentNode;){const Pr=Bs.get(Qi);if(Pr){mi=Pr;break}fl.push(Qi)}fl.forEach(Pr=>Bs.set(Pr,mi))}const bs=this._buildAnimation(Dn.namespaceId,lr,Zi,D,Yl,vs);if(Dn.setRealPlayer(bs),mi===kc)ys.push(Dn);else{const Qi=this.playersByElement.get(mi);Qi&&Qi.length&&(Dn.parentPlayer=Qe(Qi)),m.push(Dn)}}else nl(cn,lr.fromStyles),Dn.onDestroy(()=>xs(cn,lr.toStyles)),qu.push(Dn),ge.has(cn)&&m.push(Dn)}),qu.forEach(nn=>{const cn=D.get(nn.element);if(cn&&cn.length){const Dn=Qe(cn);nn.setRealPlayer(Dn)}}),m.forEach(nn=>{nn.parentPlayer?nn.syncPlayerEvents(nn.parentPlayer):nn.destroy()});for(let nn=0;nn!bs.destroyed);mi.length?Ed(this,cn,mi):this.processLeaveNode(cn)}return On.length=0,ys.forEach(nn=>{this.players.push(nn),nn.onDone(()=>{nn.destroy();const cn=this.players.indexOf(nn);this.players.splice(cn,1)}),nn.play()}),ys}elementContainsData(o,l){let f=!1;const m=l[Bi];return m&&m.setForRemoval&&(f=!0),this.playersByElement.has(l)&&(f=!0),this.playersByQueriedElement.has(l)&&(f=!0),this.statesByElement.has(l)&&(f=!0),this._fetchNamespace(o).elementContainsData(l)||f}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,l,f,m,D){let M=[];if(l){const x=this.playersByQueriedElement.get(o);x&&(M=x)}else{const x=this.playersByElement.get(o);if(x){const G=!D||D==Fa;x.forEach(Q=>{Q.queued||!G&&Q.triggerName!=m||M.push(Q)})}}return(f||m)&&(M=M.filter(x=>!(f&&f!=x.namespaceId||m&&m!=x.triggerName))),M}_beforeAnimationBuild(o,l,f){const D=l.element,M=l.isRemovalTransition?void 0:o,x=l.isRemovalTransition?void 0:l.triggerName;for(const G of l.timelines){const Q=G.element,ge=Q!==D,Le=Gr(f,Q,[]);this._getPreviousPlayers(Q,ge,M,x,l.toState).forEach(St=>{const yt=St.getRealPlayer();yt.beforeDestroy&&yt.beforeDestroy(),St.destroy(),Le.push(St)})}nl(D,l.fromStyles)}_buildAnimation(o,l,f,m,D,M){const x=l.triggerName,G=l.element,Q=[],ge=new Set,Le=new Set,ct=l.timelines.map(yt=>{const Nt=yt.element;ge.add(Nt);const On=Nt[Bi];if(On&&On.removedBeforeQueried)return new rr.ZN(yt.duration,yt.delay);const ln=Nt!==G,_r=function Cc(c){const o=[];return Tc(c,o),o}((f.get(Nt)||Uu).map(Zi=>Zi.getRealPlayer())).filter(Zi=>!!Zi.element&&Zi.element===Nt),Ji=D.get(Nt),li=M.get(Nt),_a=Rt(0,this._normalizer,0,yt.keyframes,Ji,li),Qo=this._buildPlayer(yt,_a,_r);if(yt.subTimeline&&m&&Le.add(Nt),ln){const Zi=new ks(o,x,Nt);Zi.setRealPlayer(Qo),Q.push(Zi)}return Qo});Q.forEach(yt=>{Gr(this.playersByQueriedElement,yt.element,[]).push(yt),yt.onDone(()=>function bd(c,o,l){let f=c.get(o);if(f){if(f.length){const m=f.indexOf(l);f.splice(m,1)}0==f.length&&c.delete(o)}return f}(this.playersByQueriedElement,yt.element,yt))}),ge.forEach(yt=>lo(yt,Nu));const St=Qe(ct);return St.onDestroy(()=>{ge.forEach(yt=>Zo(yt,Nu)),xs(G,l.toStyles)}),Le.forEach(yt=>{Gr(m,yt,[]).push(St)}),St}_buildPlayer(o,l,f){return l.length>0?this.driver.animate(o.element,l,o.duration,o.delay,o.easing,f):new rr.ZN(o.duration,o.delay)}}class ks{constructor(o,l,f){this.namespaceId=o,this.triggerName=l,this.element=f,this._player=new rr.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((l,f)=>{l.forEach(m=>Vt(o,f,void 0,m))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const l=this._player;l.triggerCallback&&o.onStart(()=>l.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,l){Gr(this._queuedCallbacks,o,[]).push(l)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const l=this._player;l.triggerCallback&&l.triggerCallback(o)}}function Ul(c){return c&&1===c.nodeType}function ju(c,o){const l=c.style.display;return c.style.display=o??"none",l}function $u(c,o,l,f,m){const D=[];l.forEach(G=>D.push(ju(G)));const M=[];f.forEach((G,Q)=>{const ge=new Map;G.forEach(Le=>{const ct=o.computeStyle(Q,Le,m);ge.set(Le,ct),(!ct||0==ct.length)&&(Q[Bi]=Hl,M.push(Q))}),c.set(Q,ge)});let x=0;return l.forEach(G=>ju(G,D[x++])),M}function Ls(c,o){const l=new Map;if(c.forEach(x=>l.set(x,[])),0==o.length)return l;const f=1,m=new Set(o),D=new Map;function M(x){if(!x)return f;let G=D.get(x);if(G)return G;const Q=x.parentNode;return G=l.has(Q)?Q:m.has(Q)?f:M(Q),D.set(x,G),G}return o.forEach(x=>{const G=M(x);G!==f&&l.get(G).push(x)}),l}function lo(c,o){c.classList?.add(o)}function Zo(c,o){c.classList?.remove(o)}function Ed(c,o,l){Qe(l).onDone(()=>c.processLeaveNode(o))}function Tc(c,o){for(let l=0;lm.add(D)):o.set(c,f),l.delete(c),!0}class jl{constructor(o,l,f){this.bodyNode=o,this._driver=l,this._normalizer=f,this._triggerCache={},this.onRemovalComplete=(m,D)=>{},this._transitionEngine=new ul(o,l,f),this._timelineEngine=new hf(o,l,f),this._transitionEngine.onRemovalComplete=(m,D)=>this.onRemovalComplete(m,D)}registerTrigger(o,l,f,m,D){const M=o+"-"+m;let x=this._triggerCache[M];if(!x){const G=[],Q=[],ge=rl(this._driver,D,G,Q);if(G.length)throw function As(c,o){return new L.vHH(3404,!1)}();x=function gd(c,o,l){return new md(c,o,l)}(m,ge,this._normalizer),this._triggerCache[M]=x}this._transitionEngine.registerTrigger(l,m,x)}register(o,l){this._transitionEngine.register(o,l)}destroy(o,l){this._transitionEngine.destroy(o,l)}onInsert(o,l,f,m){this._transitionEngine.insertNode(o,l,f,m)}onRemove(o,l,f,m){this._transitionEngine.removeNode(o,l,m||!1,f)}disableAnimations(o,l){this._transitionEngine.markElementAsDisabled(o,l)}process(o,l,f,m){if("@"==f.charAt(0)){const[D,M]=Ro(f);this._timelineEngine.command(D,l,M,m)}else this._transitionEngine.trigger(o,l,f,m)}listen(o,l,f,m,D){if("@"==f.charAt(0)){const[M,x]=Ro(f);return this._timelineEngine.listen(M,l,x,D)}return this._transitionEngine.listen(o,l,f,m,D)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $l=(()=>{class c{constructor(l,f,m){this._element=l,this._startStyles=f,this._endStyles=m,this._state=0;let D=c.initialStylesByElement.get(l);D||c.initialStylesByElement.set(l,D=new Map),this._initialStyles=D}start(){this._state<1&&(this._startStyles&&xs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(xs(this._element,this._initialStyles),this._endStyles&&(xs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(c.initialStylesByElement.delete(this._element),this._startStyles&&(nl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nl(this._element,this._endStyles),this._endStyles=null),xs(this._element,this._initialStyles),this._state=3)}}return c.initialStylesByElement=new WeakMap,c})();function Gl(c){let o=null;return c.forEach((l,f)=>{(function cl(c){return"display"===c||"position"===c})(f)&&(o=o||new Map,o.set(f,l))}),o}class ha{constructor(o,l,f,m){this.element=o,this.keyframes=l,this.options=f,this._specialStyles=m,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=f.duration,this._delay=f.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const l=[];return o.forEach(f=>{l.push(Object.fromEntries(f))}),l}_triggerWebAnimation(o,l,f){return o.animate(this._convertKeyframesToObject(l),f)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((f,m)=>{"offset"!==m&&o.set(m,this._finished?f:xo(this.element,m))}),this.currentSnapshot=o}triggerCallback(o){const l="start"===o?this._onStartFns:this._onDoneFns;l.forEach(f=>f()),l.length=0}}class zl{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,l){return!1}containsElement(o,l){return Ja(o,l)}getParentElement(o){return Is(o)}query(o,l,f){return Aa(o,l,f)}computeStyle(o,l,f){return window.getComputedStyle(o)[l]}animate(o,l,f,m,D,M=[]){const G={duration:f,delay:m,fill:0==m?"both":"forwards"};D&&(G.easing=D);const Q=new Map,ge=M.filter(St=>St instanceof ha);(function Iu(c,o){return 0===c||0===o})(f,m)&&ge.forEach(St=>{St.currentSnapshot.forEach((yt,Nt)=>Q.set(Nt,yt))});let Le=function Ou(c){return c.length?c[0]instanceof Map?c:c.map(o=>lc(o)):[]}(l).map(St=>Ps(St));Le=function Ru(c,o,l){if(l.size&&o.length){let f=o[0],m=[];if(l.forEach((D,M)=>{f.has(M)||m.push(M),f.set(M,D)}),m.length)for(let D=1;DM.set(x,xo(c,x)))}}return o}(o,Le,Q);const ct=function Mc(c,o){let l=null,f=null;return Array.isArray(o)&&o.length?(l=Gl(o[0]),o.length>1&&(f=Gl(o[o.length-1]))):o instanceof Map&&(l=Gl(o)),l||f?new $l(c,l,f):null}(o,Le);return new ha(o,Le,G,ct)}}let ka=(()=>{class c extends rr._j{constructor(l,f){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(f.body,{id:"0",encapsulation:L.ifc.None,styles:[],data:{animation:[]}})}build(l){const f=this._nextAnimationId.toString();this._nextAnimationId++;const m=Array.isArray(l)?(0,rr.vP)(l):l;return Nc(this._renderer,null,f,"register",[m]),new Cd(f,this._renderer)}}return c.\u0275fac=function(l){return new(l||c)(L.LFG(L.FYo),L.LFG(we.K0))},c.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac}),c})();class Cd extends rr.LC{constructor(o,l){super(),this._id=o,this._renderer=l}create(o,l){return new Td(this._id,o,l||{},this._renderer)}}class Td{constructor(o,l,f,m){this.id=o,this.element=l,this._renderer=m,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",f)}_listen(o,l){return this._renderer.listen(this.element,`@@${this.id}:${o}`,l)}_command(o,...l){return Nc(this._renderer,this.element,this.id,o,l)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function Nc(c,o,l,f,m){return c.setProperty(o,`@@${l}:${f}`,m)}const Gu="@.disabled";let pa=(()=>{class c{constructor(l,f,m){this.delegate=l,this.engine=f,this._zone=m,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),f.onRemovalComplete=(D,M)=>{const x=M?.parentNode(D);x&&M.removeChild(x,D)}}createRenderer(l,f){const D=this.delegate.createRenderer(l,f);if(!(l&&f&&f.data&&f.data.animation)){let ge=this._rendererCache.get(D);return ge||(ge=new ga("",D,this.engine,()=>this._rendererCache.delete(D)),this._rendererCache.set(D,ge)),ge}const M=f.id,x=f.id+"-"+this._currentId;this._currentId++,this.engine.register(x,l);const G=ge=>{Array.isArray(ge)?ge.forEach(G):this.engine.registerTrigger(M,x,l,ge.name,ge)};return f.data.animation.forEach(G),new Sd(this,x,D,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,f,m){l>=0&&lf(m)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(D=>{const[M,x]=D;M(x)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([f,m]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return c.\u0275fac=function(l){return new(l||c)(L.LFG(L.FYo),L.LFG(jl),L.LFG(L.R0b))},c.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac}),c})();class ga{constructor(o,l,f,m){this.namespaceId=o,this.delegate=l,this.engine=f,this._onDestroy=m,this.destroyNode=this.delegate.destroyNode?D=>l.destroyNode(D):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(o,l){return this.delegate.createElement(o,l)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,l){this.delegate.appendChild(o,l),this.engine.onInsert(this.namespaceId,l,o,!1)}insertBefore(o,l,f,m=!0){this.delegate.insertBefore(o,l,f),this.engine.onInsert(this.namespaceId,l,o,m)}removeChild(o,l,f){this.engine.onRemove(this.namespaceId,l,this.delegate,f)}selectRootElement(o,l){return this.delegate.selectRootElement(o,l)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,l,f,m){this.delegate.setAttribute(o,l,f,m)}removeAttribute(o,l,f){this.delegate.removeAttribute(o,l,f)}addClass(o,l){this.delegate.addClass(o,l)}removeClass(o,l){this.delegate.removeClass(o,l)}setStyle(o,l,f,m){this.delegate.setStyle(o,l,f,m)}removeStyle(o,l,f){this.delegate.removeStyle(o,l,f)}setProperty(o,l,f){"@"==l.charAt(0)&&l==Gu?this.disableAnimations(o,!!f):this.delegate.setProperty(o,l,f)}setValue(o,l){this.delegate.setValue(o,l)}listen(o,l,f){return this.delegate.listen(o,l,f)}disableAnimations(o,l){this.engine.disableAnimations(o,l)}}class Sd extends ga{constructor(o,l,f,m,D){super(l,f,m,D),this.factory=o,this.namespaceId=l}setProperty(o,l,f){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Gu?this.disableAnimations(o,f=void 0===f||!!f):this.engine.process(this.namespaceId,o,l.slice(1),f):this.delegate.setProperty(o,l,f)}listen(o,l,f){if("@"==l.charAt(0)){const m=function Oc(c){switch(c){case"body":return document.body;case"document":return document;case"window":return window;default:return c}}(o);let D=l.slice(1),M="";return"@"!=D.charAt(0)&&([D,M]=function Ac(c){const o=c.indexOf(".");return[c.substring(0,o),c.slice(o+1)]}(D)),this.engine.listen(this.namespaceId,m,D,M,x=>{this.factory.scheduleListenerCallback(x._data||-1,f,x)})}return this.delegate.listen(o,l,f)}}const hu=[{provide:rr._j,useClass:ka},{provide:Pa,useFactory:function Rc(){return new du}},{provide:jl,useClass:(()=>{class c extends jl{constructor(l,f,m,D){super(l.body,f,m)}ngOnDestroy(){this.flush()}}return c.\u0275fac=function(l){return new(l||c)(L.LFG(we.K0),L.LFG(Su),L.LFG(Pa),L.LFG(L.z2F))},c.\u0275prov=L.Yz7({token:c,factory:c.\u0275fac}),c})()},{provide:L.FYo,useFactory:function Pc(c,o,l){return new pa(c,o,l)},deps:[r.se,jl,L.R0b]}],pu=[{provide:Su,useFactory:()=>new zl},{provide:L.QbO,useValue:"BrowserAnimations"},...hu],zu=[{provide:Su,useClass:ac},{provide:L.QbO,useValue:"NoopAnimations"},...hu];let gf=(()=>{class c{static withConfig(l){return{ngModule:c,providers:l.disableAnimations?zu:pu}}}return c.\u0275fac=function(l){return new(l||c)},c.\u0275mod=L.oAB({type:c}),c.\u0275inj=L.cJS({providers:pu,imports:[r.b2]}),c})();var Wl=V(8918),xc=V(5415),Yu=V(3218);let Fc=(()=>{class c{static#e=this.\u0275fac=function(f){return new(f||c)};static#t=this.\u0275mod=L.oAB({type:c,bootstrap:[tt]});static#n=this.\u0275inj=L.cJS({imports:[r.b2,gf,vt,Wl.m,_s,se.u5,se.UX,_t.Rh.forRoot({tapToDismiss:!0,timeOut:3e3,positionClass:"toast-top-right",preventDuplicates:!1,enableHtml:!0}),xc.T,Yu.IJ,we.ez]})}return c})();Ue.N.production&&(0,L.G48)(),r.q6().bootstrapModule(Fc).catch(c=>console.error(c))},5415:(kt,$e,V)=>{"use strict";V.d($e,{T:()=>ve});var r=V(1571),de=(function(){function Oe(Pe,pe,ke){this.el=Pe,this.vcr=pe,this.renderer=ke,this.dtOptions={}}Oe.prototype.ngOnInit=function(){var Pe=this;this.dtTrigger?this.dtTrigger.subscribe(function(pe){Pe.displayTable(pe)}):this.displayTable(null)},Oe.prototype.ngOnDestroy=function(){this.dtTrigger&&this.dtTrigger.unsubscribe(),this.dt&&this.dt.destroy(!0)},Oe.prototype.displayTable=function(Pe){var pe=this;Pe&&(this.dtOptions=Pe),this.dtInstance=new Promise(function(ke,ae){Promise.resolve(pe.dtOptions).then(function(we){0===Object.keys(we).length&&0===$("tbody tr",pe.el.nativeElement).length?ae("Both the table and dtOptions cannot be empty"):setTimeout(function(){var vt={rowCallback:function(Ue,tt,Ae){if(we.columns){var lt=we.columns;pe.applyNgPipeTransform(Ue,lt),pe.applyNgRefTemplate(Ue,lt,tt)}we.rowCallback&&we.rowCallback(Ue,tt,Ae)}};vt=Object.assign({},we,vt),pe.dt=$(pe.el.nativeElement).DataTable(vt),ke(pe.dt)})})})},Oe.prototype.applyNgPipeTransform=function(Pe,pe){pe.filter(function(ae){return ae.ngPipeInstance&&!ae.ngTemplateRef}).forEach(function(ae){var we=ae.ngPipeInstance,xe=ae.ngPipeArgs||[],vt=pe.filter(function(lt){return!1!==lt.visible}).findIndex(function(lt){return lt.data===ae.data}),Ue=Pe.childNodes.item(vt),tt=$(Ue).text(),Ae=we.transform.apply(we,function(Oe,Pe,pe){if(pe||2===arguments.length)for(var we,ke=0,ae=Pe.length;ke=128>>dt&&Ot<=2048>>dt&&Ot<=57344>>dt&&Ot<=65536>>dt&&Ot<>6>15?3:dt>31?2:1;if(12===Ot)return dt>15?3:2;if(18===Ot)return 3;throw new Error}for(var Ke="",wt=this.bitsNeeded,Je=this.codePoint,Ht=0;Ht191||!oe(Je<<6|63&Pt,wt-6,Ne(wt,Je)))&&(wt=0,Je=65533,Ke+=String.fromCharCode(Je)),0===wt?(Pt>=0&&Pt<=127?(wt=0,Je=Pt):Pt>=192&&Pt<=223?(wt=6,Je=31&Pt):Pt>=224&&Pt<=239?(wt=12,Je=15&Pt):Pt>=240&&Pt<=247?(wt=18,Je=7&Pt):(wt=0,Je=65533),0!==wt&&!oe(Je,wt,Ne(wt,Je))&&(wt=0,Je=65533)):(wt-=6,Je=Je<<6|63&Pt),0===wt&&(Je<=65535?Ke+=String.fromCharCode(Je):(Ke+=String.fromCharCode(55296+(Je-65535-1>>10)),Ke+=String.fromCharCode(56320+(Je-65535-1&1023))))}return this.bitsNeeded=wt,this.codePoint=Je,Ke},(null==Ue||null==tt||!function(){try{return"test"===(new Ue).decode((new tt).encode("test"),{stream:!0})}catch(J){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+J)}return!1}())&&(Ue=Xe);var Mt=function(){};function me(J){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=Mt,this.onload=Mt,this.onerror=Mt,this.onreadystatechange=Mt,this._contentType="",this._xhr=J,this._sendTimeout=0,this._abort=Mt}function ce(J){return J.replace(/[A-Z]/g,function(oe){return String.fromCharCode(oe.charCodeAt(0)+32)})}function Ie(J){for(var oe=Object.create(null),Ne=J.split("\r\n"),Ce=0;Ce"u"?typeof window<"u"?window:typeof self<"u"?self:this:globalThis)},1135:(kt,$e,V)=>{"use strict";V.d($e,{X:()=>L});var r=V(7579);class L extends r.x{constructor(de){super(),this._value=de}get value(){return this.getValue()}_subscribe(de){const ve=super._subscribe(de);return!ve.closed&&de.next(this._value),ve}getValue(){const{hasError:de,thrownError:ve,_value:Oe}=this;if(de)throw ve;return this._throwIfClosed(),Oe}next(de){super.next(this._value=de)}}},9751:(kt,$e,V)=>{"use strict";V.d($e,{y:()=>pe});var r=V(930),L=V(727),se=V(8822),de=V(9635),ve=V(2416),Oe=V(576),Pe=V(2806);let pe=(()=>{class xe{constructor(Ue){Ue&&(this._subscribe=Ue)}lift(Ue){const tt=new xe;return tt.source=this,tt.operator=Ue,tt}subscribe(Ue,tt,Ae){const lt=function we(xe){return xe&&xe instanceof r.Lv||function ae(xe){return xe&&(0,Oe.m)(xe.next)&&(0,Oe.m)(xe.error)&&(0,Oe.m)(xe.complete)}(xe)&&(0,L.Nn)(xe)}(Ue)?Ue:new r.Hp(Ue,tt,Ae);return(0,Pe.x)(()=>{const{operator:Xe,source:Lt}=this;lt.add(Xe?Xe.call(lt,Lt):Lt?this._subscribe(lt):this._trySubscribe(lt))}),lt}_trySubscribe(Ue){try{return this._subscribe(Ue)}catch(tt){Ue.error(tt)}}forEach(Ue,tt){return new(tt=ke(tt))((Ae,lt)=>{const Xe=new r.Hp({next:Lt=>{try{Ue(Lt)}catch(Mt){lt(Mt),Xe.unsubscribe()}},error:lt,complete:Ae});this.subscribe(Xe)})}_subscribe(Ue){var tt;return null===(tt=this.source)||void 0===tt?void 0:tt.subscribe(Ue)}[se.L](){return this}pipe(...Ue){return(0,de.U)(Ue)(this)}toPromise(Ue){return new(Ue=ke(Ue))((tt,Ae)=>{let lt;this.subscribe(Xe=>lt=Xe,Xe=>Ae(Xe),()=>tt(lt))})}}return xe.create=vt=>new xe(vt),xe})();function ke(xe){var vt;return null!==(vt=xe??ve.v.Promise)&&void 0!==vt?vt:Promise}},7579:(kt,$e,V)=>{"use strict";V.d($e,{x:()=>Pe});var r=V(9751),L=V(727);const de=(0,V(3888).d)(ke=>function(){ke(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ve=V(8737),Oe=V(2806);let Pe=(()=>{class ke extends r.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(we){const xe=new pe(this,this);return xe.operator=we,xe}_throwIfClosed(){if(this.closed)throw new de}next(we){(0,Oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const xe of this.currentObservers)xe.next(we)}})}error(we){(0,Oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=we;const{observers:xe}=this;for(;xe.length;)xe.shift().error(we)}})}complete(){(0,Oe.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:we}=this;for(;we.length;)we.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var we;return(null===(we=this.observers)||void 0===we?void 0:we.length)>0}_trySubscribe(we){return this._throwIfClosed(),super._trySubscribe(we)}_subscribe(we){return this._throwIfClosed(),this._checkFinalizedStatuses(we),this._innerSubscribe(we)}_innerSubscribe(we){const{hasError:xe,isStopped:vt,observers:Ue}=this;return xe||vt?L.Lc:(this.currentObservers=null,Ue.push(we),new L.w0(()=>{this.currentObservers=null,(0,ve.P)(Ue,we)}))}_checkFinalizedStatuses(we){const{hasError:xe,thrownError:vt,isStopped:Ue}=this;xe?we.error(vt):Ue&&we.complete()}asObservable(){const we=new r.y;return we.source=this,we}}return ke.create=(ae,we)=>new pe(ae,we),ke})();class pe extends Pe{constructor(ae,we){super(),this.destination=ae,this.source=we}next(ae){var we,xe;null===(xe=null===(we=this.destination)||void 0===we?void 0:we.next)||void 0===xe||xe.call(we,ae)}error(ae){var we,xe;null===(xe=null===(we=this.destination)||void 0===we?void 0:we.error)||void 0===xe||xe.call(we,ae)}complete(){var ae,we;null===(we=null===(ae=this.destination)||void 0===ae?void 0:ae.complete)||void 0===we||we.call(ae)}_subscribe(ae){var we,xe;return null!==(xe=null===(we=this.source)||void 0===we?void 0:we.subscribe(ae))&&void 0!==xe?xe:L.Lc}}},930:(kt,$e,V)=>{"use strict";V.d($e,{Hp:()=>Ae,Lv:()=>xe});var r=V(576),L=V(727),se=V(2416),de=V(7849),ve=V(5032);const Oe=ke("C",void 0,void 0);function ke(me,ce,Ie){return{kind:me,value:ce,error:Ie}}var ae=V(3410),we=V(2806);class xe extends L.w0{constructor(ce){super(),this.isStopped=!1,ce?(this.destination=ce,(0,L.Nn)(ce)&&ce.add(this)):this.destination=Mt}static create(ce,Ie,mt){return new Ae(ce,Ie,mt)}next(ce){this.isStopped?Lt(function pe(me){return ke("N",me,void 0)}(ce),this):this._next(ce)}error(ce){this.isStopped?Lt(function Pe(me){return ke("E",void 0,me)}(ce),this):(this.isStopped=!0,this._error(ce))}complete(){this.isStopped?Lt(Oe,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(ce){this.destination.next(ce)}_error(ce){try{this.destination.error(ce)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const vt=Function.prototype.bind;function Ue(me,ce){return vt.call(me,ce)}class tt{constructor(ce){this.partialObserver=ce}next(ce){const{partialObserver:Ie}=this;if(Ie.next)try{Ie.next(ce)}catch(mt){lt(mt)}}error(ce){const{partialObserver:Ie}=this;if(Ie.error)try{Ie.error(ce)}catch(mt){lt(mt)}else lt(ce)}complete(){const{partialObserver:ce}=this;if(ce.complete)try{ce.complete()}catch(Ie){lt(Ie)}}}class Ae extends xe{constructor(ce,Ie,mt){let _t;if(super(),(0,r.m)(ce)||!ce)_t={next:ce??void 0,error:Ie??void 0,complete:mt??void 0};else{let ut;this&&se.v.useDeprecatedNextContext?(ut=Object.create(ce),ut.unsubscribe=()=>this.unsubscribe(),_t={next:ce.next&&Ue(ce.next,ut),error:ce.error&&Ue(ce.error,ut),complete:ce.complete&&Ue(ce.complete,ut)}):_t=ce}this.destination=new tt(_t)}}function lt(me){se.v.useDeprecatedSynchronousErrorHandling?(0,we.O)(me):(0,de.h)(me)}function Lt(me,ce){const{onStoppedNotification:Ie}=se.v;Ie&&ae.z.setTimeout(()=>Ie(me,ce))}const Mt={closed:!0,next:ve.Z,error:function Xe(me){throw me},complete:ve.Z}},727:(kt,$e,V)=>{"use strict";V.d($e,{Lc:()=>Oe,w0:()=>ve,Nn:()=>Pe});var r=V(576);const se=(0,V(3888).d)(ke=>function(we){ke(this),this.message=we?`${we.length} errors occurred during unsubscription:\n${we.map((xe,vt)=>`${vt+1}) ${xe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=we});var de=V(8737);class ve{constructor(ae){this.initialTeardown=ae,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let ae;if(!this.closed){this.closed=!0;const{_parentage:we}=this;if(we)if(this._parentage=null,Array.isArray(we))for(const Ue of we)Ue.remove(this);else we.remove(this);const{initialTeardown:xe}=this;if((0,r.m)(xe))try{xe()}catch(Ue){ae=Ue instanceof se?Ue.errors:[Ue]}const{_finalizers:vt}=this;if(vt){this._finalizers=null;for(const Ue of vt)try{pe(Ue)}catch(tt){ae=ae??[],tt instanceof se?ae=[...ae,...tt.errors]:ae.push(tt)}}if(ae)throw new se(ae)}}add(ae){var we;if(ae&&ae!==this)if(this.closed)pe(ae);else{if(ae instanceof ve){if(ae.closed||ae._hasParent(this))return;ae._addParent(this)}(this._finalizers=null!==(we=this._finalizers)&&void 0!==we?we:[]).push(ae)}}_hasParent(ae){const{_parentage:we}=this;return we===ae||Array.isArray(we)&&we.includes(ae)}_addParent(ae){const{_parentage:we}=this;this._parentage=Array.isArray(we)?(we.push(ae),we):we?[we,ae]:ae}_removeParent(ae){const{_parentage:we}=this;we===ae?this._parentage=null:Array.isArray(we)&&(0,de.P)(we,ae)}remove(ae){const{_finalizers:we}=this;we&&(0,de.P)(we,ae),ae instanceof ve&&ae._removeParent(this)}}ve.EMPTY=(()=>{const ke=new ve;return ke.closed=!0,ke})();const Oe=ve.EMPTY;function Pe(ke){return ke instanceof ve||ke&&"closed"in ke&&(0,r.m)(ke.remove)&&(0,r.m)(ke.add)&&(0,r.m)(ke.unsubscribe)}function pe(ke){(0,r.m)(ke)?ke():ke.unsubscribe()}},2416:(kt,$e,V)=>{"use strict";V.d($e,{v:()=>r});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(kt,$e,V)=>{"use strict";V.d($e,{a:()=>ae});var r=V(9751),L=V(4742),se=V(2076),de=V(4671),ve=V(3268),Oe=V(3269),Pe=V(1810),pe=V(5403),ke=V(9672);function ae(...vt){const Ue=(0,Oe.yG)(vt),tt=(0,Oe.jO)(vt),{args:Ae,keys:lt}=(0,L.D)(vt);if(0===Ae.length)return(0,se.D)([],Ue);const Xe=new r.y(function we(vt,Ue,tt=de.y){return Ae=>{xe(Ue,()=>{const{length:lt}=vt,Xe=new Array(lt);let Lt=lt,Mt=lt;for(let me=0;me{const ce=(0,se.D)(vt[me],Ue);let Ie=!1;ce.subscribe((0,pe.x)(Ae,mt=>{Xe[me]=mt,Ie||(Ie=!0,Mt--),Mt||Ae.next(tt(Xe.slice()))},()=>{--Lt||Ae.complete()}))},Ae)},Ae)}}(Ae,Ue,lt?Lt=>(0,Pe.n)(lt,Lt):de.y));return tt?Xe.pipe((0,ve.Z)(tt)):Xe}function xe(vt,Ue,tt){vt?(0,ke.f)(tt,vt,Ue):Ue()}},7272:(kt,$e,V)=>{"use strict";V.d($e,{z:()=>ve});var r=V(8189),se=V(3269),de=V(2076);function ve(...Oe){return function L(){return(0,r.J)(1)}()((0,de.D)(Oe,(0,se.yG)(Oe)))}},515:(kt,$e,V)=>{"use strict";V.d($e,{E:()=>L});const L=new(V(9751).y)(ve=>ve.complete())},2076:(kt,$e,V)=>{"use strict";V.d($e,{D:()=>mt});var r=V(8421),L=V(9672),se=V(4482),de=V(5403);function ve(_t,ut=0){return(0,se.e)((pt,At)=>{pt.subscribe((0,de.x)(At,at=>(0,L.f)(At,_t,()=>At.next(at),ut),()=>(0,L.f)(At,_t,()=>At.complete(),ut),at=>(0,L.f)(At,_t,()=>At.error(at),ut)))})}function Oe(_t,ut=0){return(0,se.e)((pt,At)=>{At.add(_t.schedule(()=>pt.subscribe(At),ut))})}var ke=V(9751),we=V(2202),xe=V(576);function Ue(_t,ut){if(!_t)throw new Error("Iterable cannot be null");return new ke.y(pt=>{(0,L.f)(pt,ut,()=>{const At=_t[Symbol.asyncIterator]();(0,L.f)(pt,ut,()=>{At.next().then(at=>{at.done?pt.complete():pt.next(at.value)})},0,!0)})})}var tt=V(3670),Ae=V(8239),lt=V(1144),Xe=V(6495),Lt=V(2206),Mt=V(4532),me=V(3260);function mt(_t,ut){return ut?function Ie(_t,ut){if(null!=_t){if((0,tt.c)(_t))return function Pe(_t,ut){return(0,r.Xf)(_t).pipe(Oe(ut),ve(ut))}(_t,ut);if((0,lt.z)(_t))return function ae(_t,ut){return new ke.y(pt=>{let At=0;return ut.schedule(function(){At===_t.length?pt.complete():(pt.next(_t[At++]),pt.closed||this.schedule())})})}(_t,ut);if((0,Ae.t)(_t))return function pe(_t,ut){return(0,r.Xf)(_t).pipe(Oe(ut),ve(ut))}(_t,ut);if((0,Lt.D)(_t))return Ue(_t,ut);if((0,Xe.T)(_t))return function vt(_t,ut){return new ke.y(pt=>{let At;return(0,L.f)(pt,ut,()=>{At=_t[we.h](),(0,L.f)(pt,ut,()=>{let at,Kt;try{({value:at,done:Kt}=At.next())}catch(st){return void pt.error(st)}Kt?pt.complete():pt.next(at)},0,!0)}),()=>(0,xe.m)(At?.return)&&At.return()})}(_t,ut);if((0,me.L)(_t))return function ce(_t,ut){return Ue((0,me.Q)(_t),ut)}(_t,ut)}throw(0,Mt.z)(_t)}(_t,ut):(0,r.Xf)(_t)}},8421:(kt,$e,V)=>{"use strict";V.d($e,{Xf:()=>vt});var r=V(7582),L=V(1144),se=V(8239),de=V(9751),ve=V(3670),Oe=V(2206),Pe=V(4532),pe=V(6495),ke=V(3260),ae=V(576),we=V(7849),xe=V(8822);function vt(me){if(me instanceof de.y)return me;if(null!=me){if((0,ve.c)(me))return function Ue(me){return new de.y(ce=>{const Ie=me[xe.L]();if((0,ae.m)(Ie.subscribe))return Ie.subscribe(ce);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(me);if((0,L.z)(me))return function tt(me){return new de.y(ce=>{for(let Ie=0;Ie{me.then(Ie=>{ce.closed||(ce.next(Ie),ce.complete())},Ie=>ce.error(Ie)).then(null,we.h)})}(me);if((0,Oe.D)(me))return Xe(me);if((0,pe.T)(me))return function lt(me){return new de.y(ce=>{for(const Ie of me)if(ce.next(Ie),ce.closed)return;ce.complete()})}(me);if((0,ke.L)(me))return function Lt(me){return Xe((0,ke.Q)(me))}(me)}throw(0,Pe.z)(me)}function Xe(me){return new de.y(ce=>{(function Mt(me,ce){var Ie,mt,_t,ut;return(0,r.mG)(this,void 0,void 0,function*(){try{for(Ie=(0,r.KL)(me);!(mt=yield Ie.next()).done;)if(ce.next(mt.value),ce.closed)return}catch(pt){_t={error:pt}}finally{try{mt&&!mt.done&&(ut=Ie.return)&&(yield ut.call(Ie))}finally{if(_t)throw _t.error}}ce.complete()})})(me,ce).catch(Ie=>ce.error(Ie))})}},6451:(kt,$e,V)=>{"use strict";V.d($e,{T:()=>Oe});var r=V(8189),L=V(8421),se=V(515),de=V(3269),ve=V(2076);function Oe(...Pe){const pe=(0,de.yG)(Pe),ke=(0,de._6)(Pe,1/0),ae=Pe;return ae.length?1===ae.length?(0,L.Xf)(ae[0]):(0,r.J)(ke)((0,ve.D)(ae,pe)):se.E}},9646:(kt,$e,V)=>{"use strict";V.d($e,{of:()=>se});var r=V(3269),L=V(2076);function se(...de){const ve=(0,r.yG)(de);return(0,L.D)(de,ve)}},2843:(kt,$e,V)=>{"use strict";V.d($e,{_:()=>se});var r=V(9751),L=V(576);function se(de,ve){const Oe=(0,L.m)(de)?de:()=>de,Pe=pe=>pe.error(Oe());return new r.y(ve?pe=>ve.schedule(Pe,0,pe):Pe)}},5403:(kt,$e,V)=>{"use strict";V.d($e,{x:()=>L});var r=V(930);function L(de,ve,Oe,Pe,pe){return new se(de,ve,Oe,Pe,pe)}class se extends r.Lv{constructor(ve,Oe,Pe,pe,ke,ae){super(ve),this.onFinalize=ke,this.shouldUnsubscribe=ae,this._next=Oe?function(we){try{Oe(we)}catch(xe){ve.error(xe)}}:super._next,this._error=pe?function(we){try{pe(we)}catch(xe){ve.error(xe)}finally{this.unsubscribe()}}:super._error,this._complete=Pe?function(){try{Pe()}catch(we){ve.error(we)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ve;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:Oe}=this;super.unsubscribe(),!Oe&&(null===(ve=this.onFinalize)||void 0===ve||ve.call(this))}}}},262:(kt,$e,V)=>{"use strict";V.d($e,{K:()=>de});var r=V(8421),L=V(5403),se=V(4482);function de(ve){return(0,se.e)((Oe,Pe)=>{let ae,pe=null,ke=!1;pe=Oe.subscribe((0,L.x)(Pe,void 0,void 0,we=>{ae=(0,r.Xf)(ve(we,de(ve)(Oe))),pe?(pe.unsubscribe(),pe=null,ae.subscribe(Pe)):ke=!0})),ke&&(pe.unsubscribe(),pe=null,ae.subscribe(Pe))})}},4351:(kt,$e,V)=>{"use strict";V.d($e,{b:()=>se});var r=V(5577),L=V(576);function se(de,ve){return(0,L.m)(ve)?(0,r.z)(de,ve,1):(0,r.z)(de,1)}},9300:(kt,$e,V)=>{"use strict";V.d($e,{h:()=>se});var r=V(4482),L=V(5403);function se(de,ve){return(0,r.e)((Oe,Pe)=>{let pe=0;Oe.subscribe((0,L.x)(Pe,ke=>de.call(ve,ke,pe++)&&Pe.next(ke)))})}},8746:(kt,$e,V)=>{"use strict";V.d($e,{x:()=>L});var r=V(4482);function L(se){return(0,r.e)((de,ve)=>{try{de.subscribe(ve)}finally{ve.add(se)}})}},4004:(kt,$e,V)=>{"use strict";V.d($e,{U:()=>se});var r=V(4482),L=V(5403);function se(de,ve){return(0,r.e)((Oe,Pe)=>{let pe=0;Oe.subscribe((0,L.x)(Pe,ke=>{Pe.next(de.call(ve,ke,pe++))}))})}},9718:(kt,$e,V)=>{"use strict";V.d($e,{h:()=>L});var r=V(4004);function L(se){return(0,r.U)(()=>se)}},8189:(kt,$e,V)=>{"use strict";V.d($e,{J:()=>se});var r=V(5577),L=V(4671);function se(de=1/0){return(0,r.z)(L.y,de)}},5577:(kt,$e,V)=>{"use strict";V.d($e,{z:()=>pe});var r=V(4004),L=V(8421),se=V(4482),de=V(9672),ve=V(5403),Pe=V(576);function pe(ke,ae,we=1/0){return(0,Pe.m)(ae)?pe((xe,vt)=>(0,r.U)((Ue,tt)=>ae(xe,Ue,vt,tt))((0,L.Xf)(ke(xe,vt))),we):("number"==typeof ae&&(we=ae),(0,se.e)((xe,vt)=>function Oe(ke,ae,we,xe,vt,Ue,tt,Ae){const lt=[];let Xe=0,Lt=0,Mt=!1;const me=()=>{Mt&&!lt.length&&!Xe&&ae.complete()},ce=mt=>Xe{Ue&&ae.next(mt),Xe++;let _t=!1;(0,L.Xf)(we(mt,Lt++)).subscribe((0,ve.x)(ae,ut=>{vt?.(ut),Ue?ce(ut):ae.next(ut)},()=>{_t=!0},void 0,()=>{if(_t)try{for(Xe--;lt.length&&XeIe(ut)):Ie(ut)}me()}catch(ut){ae.error(ut)}}))};return ke.subscribe((0,ve.x)(ae,ce,()=>{Mt=!0,me()})),()=>{Ae?.()}}(xe,vt,ke,we)))}},8675:(kt,$e,V)=>{"use strict";V.d($e,{O:()=>de});var r=V(7272),L=V(3269),se=V(4482);function de(...ve){const Oe=(0,L.yG)(ve);return(0,se.e)((Pe,pe)=>{(Oe?(0,r.z)(ve,Pe,Oe):(0,r.z)(ve,Pe)).subscribe(pe)})}},3900:(kt,$e,V)=>{"use strict";V.d($e,{w:()=>de});var r=V(8421),L=V(4482),se=V(5403);function de(ve,Oe){return(0,L.e)((Pe,pe)=>{let ke=null,ae=0,we=!1;const xe=()=>we&&!ke&&pe.complete();Pe.subscribe((0,se.x)(pe,vt=>{ke?.unsubscribe();let Ue=0;const tt=ae++;(0,r.Xf)(ve(vt,tt)).subscribe(ke=(0,se.x)(pe,Ae=>pe.next(Oe?Oe(vt,Ae,tt,Ue++):Ae),()=>{ke=null,xe()}))},()=>{we=!0,xe()}))})}},5698:(kt,$e,V)=>{"use strict";V.d($e,{q:()=>de});var r=V(515),L=V(4482),se=V(5403);function de(ve){return ve<=0?()=>r.E:(0,L.e)((Oe,Pe)=>{let pe=0;Oe.subscribe((0,se.x)(Pe,ke=>{++pe<=ve&&(Pe.next(ke),ve<=pe&&Pe.complete())}))})}},2722:(kt,$e,V)=>{"use strict";V.d($e,{R:()=>ve});var r=V(4482),L=V(5403),se=V(8421),de=V(5032);function ve(Oe){return(0,r.e)((Pe,pe)=>{(0,se.Xf)(Oe).subscribe((0,L.x)(pe,()=>pe.complete(),de.Z)),!pe.closed&&Pe.subscribe(pe)})}},8505:(kt,$e,V)=>{"use strict";V.d($e,{b:()=>ve});var r=V(576),L=V(4482),se=V(5403),de=V(4671);function ve(Oe,Pe,pe){const ke=(0,r.m)(Oe)||Pe||pe?{next:Oe,error:Pe,complete:pe}:Oe;return ke?(0,L.e)((ae,we)=>{var xe;null===(xe=ke.subscribe)||void 0===xe||xe.call(ke);let vt=!0;ae.subscribe((0,se.x)(we,Ue=>{var tt;null===(tt=ke.next)||void 0===tt||tt.call(ke,Ue),we.next(Ue)},()=>{var Ue;vt=!1,null===(Ue=ke.complete)||void 0===Ue||Ue.call(ke),we.complete()},Ue=>{var tt;vt=!1,null===(tt=ke.error)||void 0===tt||tt.call(ke,Ue),we.error(Ue)},()=>{var Ue,tt;vt&&(null===(Ue=ke.unsubscribe)||void 0===Ue||Ue.call(ke)),null===(tt=ke.finalize)||void 0===tt||tt.call(ke)}))}):de.y}},3410:(kt,$e,V)=>{"use strict";V.d($e,{z:()=>r});const r={setTimeout(L,se,...de){const{delegate:ve}=r;return ve?.setTimeout?ve.setTimeout(L,se,...de):setTimeout(L,se,...de)},clearTimeout(L){const{delegate:se}=r;return(se?.clearTimeout||clearTimeout)(L)},delegate:void 0}},2202:(kt,$e,V)=>{"use strict";V.d($e,{h:()=>L});const L=function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(kt,$e,V)=>{"use strict";V.d($e,{L:()=>r});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(kt,$e,V)=>{"use strict";V.d($e,{_6:()=>Oe,jO:()=>de,yG:()=>ve});var r=V(576),L=V(3532);function se(Pe){return Pe[Pe.length-1]}function de(Pe){return(0,r.m)(se(Pe))?Pe.pop():void 0}function ve(Pe){return(0,L.K)(se(Pe))?Pe.pop():void 0}function Oe(Pe,pe){return"number"==typeof se(Pe)?Pe.pop():pe}},4742:(kt,$e,V)=>{"use strict";V.d($e,{D:()=>ve});const{isArray:r}=Array,{getPrototypeOf:L,prototype:se,keys:de}=Object;function ve(Pe){if(1===Pe.length){const pe=Pe[0];if(r(pe))return{args:pe,keys:null};if(function Oe(Pe){return Pe&&"object"==typeof Pe&&L(Pe)===se}(pe)){const ke=de(pe);return{args:ke.map(ae=>pe[ae]),keys:ke}}}return{args:Pe,keys:null}}},8737:(kt,$e,V)=>{"use strict";function r(L,se){if(L){const de=L.indexOf(se);0<=de&&L.splice(de,1)}}V.d($e,{P:()=>r})},3888:(kt,$e,V)=>{"use strict";function r(L){const de=L(ve=>{Error.call(ve),ve.stack=(new Error).stack});return de.prototype=Object.create(Error.prototype),de.prototype.constructor=de,de}V.d($e,{d:()=>r})},1810:(kt,$e,V)=>{"use strict";function r(L,se){return L.reduce((de,ve,Oe)=>(de[ve]=se[Oe],de),{})}V.d($e,{n:()=>r})},2806:(kt,$e,V)=>{"use strict";V.d($e,{O:()=>de,x:()=>se});var r=V(2416);let L=null;function se(ve){if(r.v.useDeprecatedSynchronousErrorHandling){const Oe=!L;if(Oe&&(L={errorThrown:!1,error:null}),ve(),Oe){const{errorThrown:Pe,error:pe}=L;if(L=null,Pe)throw pe}}else ve()}function de(ve){r.v.useDeprecatedSynchronousErrorHandling&&L&&(L.errorThrown=!0,L.error=ve)}},9672:(kt,$e,V)=>{"use strict";function r(L,se,de,ve=0,Oe=!1){const Pe=se.schedule(function(){de(),Oe?L.add(this.schedule(null,ve)):this.unsubscribe()},ve);if(L.add(Pe),!Oe)return Pe}V.d($e,{f:()=>r})},4671:(kt,$e,V)=>{"use strict";function r(L){return L}V.d($e,{y:()=>r})},1144:(kt,$e,V)=>{"use strict";V.d($e,{z:()=>r});const r=L=>L&&"number"==typeof L.length&&"function"!=typeof L},2206:(kt,$e,V)=>{"use strict";V.d($e,{D:()=>L});var r=V(576);function L(se){return Symbol.asyncIterator&&(0,r.m)(se?.[Symbol.asyncIterator])}},576:(kt,$e,V)=>{"use strict";function r(L){return"function"==typeof L}V.d($e,{m:()=>r})},3670:(kt,$e,V)=>{"use strict";V.d($e,{c:()=>se});var r=V(8822),L=V(576);function se(de){return(0,L.m)(de[r.L])}},6495:(kt,$e,V)=>{"use strict";V.d($e,{T:()=>se});var r=V(2202),L=V(576);function se(de){return(0,L.m)(de?.[r.h])}},8239:(kt,$e,V)=>{"use strict";V.d($e,{t:()=>L});var r=V(576);function L(se){return(0,r.m)(se?.then)}},3260:(kt,$e,V)=>{"use strict";V.d($e,{L:()=>de,Q:()=>se});var r=V(7582),L=V(576);function se(ve){return(0,r.FC)(this,arguments,function*(){const Pe=ve.getReader();try{for(;;){const{value:pe,done:ke}=yield(0,r.qq)(Pe.read());if(ke)return yield(0,r.qq)(void 0);yield yield(0,r.qq)(pe)}}finally{Pe.releaseLock()}})}function de(ve){return(0,L.m)(ve?.getReader)}},3532:(kt,$e,V)=>{"use strict";V.d($e,{K:()=>L});var r=V(576);function L(se){return se&&(0,r.m)(se.schedule)}},4482:(kt,$e,V)=>{"use strict";V.d($e,{A:()=>L,e:()=>se});var r=V(576);function L(de){return(0,r.m)(de?.lift)}function se(de){return ve=>{if(L(ve))return ve.lift(function(Oe){try{return de(Oe,this)}catch(Pe){this.error(Pe)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(kt,$e,V)=>{"use strict";V.d($e,{Z:()=>de});var r=V(4004);const{isArray:L}=Array;function de(ve){return(0,r.U)(Oe=>function se(ve,Oe){return L(Oe)?ve(...Oe):ve(Oe)}(ve,Oe))}},5032:(kt,$e,V)=>{"use strict";function r(){}V.d($e,{Z:()=>r})},9635:(kt,$e,V)=>{"use strict";V.d($e,{U:()=>se,z:()=>L});var r=V(4671);function L(...de){return se(de)}function se(de){return 0===de.length?r.y:1===de.length?de[0]:function(Oe){return de.reduce((Pe,pe)=>pe(Pe),Oe)}}},7849:(kt,$e,V)=>{"use strict";V.d($e,{h:()=>se});var r=V(2416),L=V(3410);function se(de){L.z.setTimeout(()=>{const{onUnhandledError:ve}=r.v;if(!ve)throw de;ve(de)})}},4532:(kt,$e,V)=>{"use strict";function r(L){return new TypeError(`You provided ${null!==L&&"object"==typeof L?"an invalid object":`'${L}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}V.d($e,{z:()=>r})},7340:(kt,$e,V)=>{"use strict";V.d($e,{LC:()=>L,SB:()=>ke,X$:()=>de,ZE:()=>Lt,ZN:()=>Xe,_j:()=>r,eR:()=>we,jt:()=>ve,k1:()=>Mt,l3:()=>se,oB:()=>pe,vP:()=>Pe});class r{}class L{}const se="*";function de(me,ce){return{type:7,name:me,definitions:ce,options:{}}}function ve(me,ce=null){return{type:4,styles:ce,timings:me}}function Pe(me,ce=null){return{type:2,steps:me,options:ce}}function pe(me){return{type:6,styles:me,offset:null}}function ke(me,ce,Ie){return{type:0,name:me,styles:ce,options:Ie}}function we(me,ce,Ie=null){return{type:1,expr:me,animation:ce,options:Ie}}function lt(me){Promise.resolve().then(me)}class Xe{constructor(ce=0,Ie=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ce+Ie}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ce=>ce()),this._onDoneFns=[])}onStart(ce){this._originalOnStartFns.push(ce),this._onStartFns.push(ce)}onDone(ce){this._originalOnDoneFns.push(ce),this._onDoneFns.push(ce)}onDestroy(ce){this._onDestroyFns.push(ce)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){lt(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ce=>ce()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ce=>ce()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ce){this._position=this.totalTime?ce*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ce){const Ie="start"==ce?this._onStartFns:this._onDoneFns;Ie.forEach(mt=>mt()),Ie.length=0}}class Lt{constructor(ce){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ce;let Ie=0,mt=0,_t=0;const ut=this.players.length;0==ut?lt(()=>this._onFinish()):this.players.forEach(pt=>{pt.onDone(()=>{++Ie==ut&&this._onFinish()}),pt.onDestroy(()=>{++mt==ut&&this._onDestroy()}),pt.onStart(()=>{++_t==ut&&this._onStart()})}),this.totalTime=this.players.reduce((pt,At)=>Math.max(pt,At.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ce=>ce()),this._onDoneFns=[])}init(){this.players.forEach(ce=>ce.init())}onStart(ce){this._onStartFns.push(ce)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ce=>ce()),this._onStartFns=[])}onDone(ce){this._onDoneFns.push(ce)}onDestroy(ce){this._onDestroyFns.push(ce)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ce=>ce.play())}pause(){this.players.forEach(ce=>ce.pause())}restart(){this.players.forEach(ce=>ce.restart())}finish(){this._onFinish(),this.players.forEach(ce=>ce.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ce=>ce.destroy()),this._onDestroyFns.forEach(ce=>ce()),this._onDestroyFns=[])}reset(){this.players.forEach(ce=>ce.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ce){const Ie=ce*this.totalTime;this.players.forEach(mt=>{const _t=mt.totalTime?Math.min(1,Ie/mt.totalTime):1;mt.setPosition(_t)})}getPosition(){const ce=this.players.reduce((Ie,mt)=>null===Ie||mt.totalTime>Ie.totalTime?mt:Ie,null);return null!=ce?ce.getPosition():0}beforeDestroy(){this.players.forEach(ce=>{ce.beforeDestroy&&ce.beforeDestroy()})}triggerCallback(ce){const Ie="start"==ce?this._onStartFns:this._onDoneFns;Ie.forEach(mt=>mt()),Ie.length=0}}const Mt="!"},6895:(kt,$e,V)=>{"use strict";V.d($e,{Do:()=>Lt,EM:()=>ls,HT:()=>de,JF:()=>ro,JJ:()=>So,K0:()=>Oe,Mn:()=>Yn,Mx:()=>rt,NF:()=>Ds,Nd:()=>Ii,O5:()=>sr,OU:()=>Ui,PC:()=>Ur,S$:()=>Ae,Tn:()=>at,UT:()=>He,V_:()=>ke,Ye:()=>Mt,Zx:()=>Bo,ax:()=>xn,b0:()=>Xe,bD:()=>ss,ez:()=>Vo,gd:()=>Hi,i8:()=>ho,mk:()=>wn,ol:()=>tn,p6:()=>zt,q:()=>se,rS:()=>eo,sg:()=>xn,tP:()=>Co,uU:()=>zn,w_:()=>ve,x:()=>At});var r=V(1571);let L=null;function se(){return L}function de(C){L||(L=C)}class ve{}const Oe=new r.OlP("DocumentToken");let Pe=(()=>{class C{historyGo(N){throw new Error("Not implemented")}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275prov=r.Yz7({token:C,factory:function(){return function pe(){return(0,r.LFG)(ae)}()},providedIn:"platform"}),C})();const ke=new r.OlP("Location Initialized");let ae=(()=>{class C extends Pe{constructor(N){super(),this._doc=N,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return se().getBaseHref(this._doc)}onPopState(N){const j=se().getGlobalEventTarget(this._doc,"window");return j.addEventListener("popstate",N,!1),()=>j.removeEventListener("popstate",N)}onHashChange(N){const j=se().getGlobalEventTarget(this._doc,"window");return j.addEventListener("hashchange",N,!1),()=>j.removeEventListener("hashchange",N)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(N){this._location.pathname=N}pushState(N,j,re){we()?this._history.pushState(N,j,re):this._location.hash=re}replaceState(N,j,re){we()?this._history.replaceState(N,j,re):this._location.hash=re}forward(){this._history.forward()}back(){this._history.back()}historyGo(N=0){this._history.go(N)}getState(){return this._history.state}}return C.\u0275fac=function(N){return new(N||C)(r.LFG(Oe))},C.\u0275prov=r.Yz7({token:C,factory:function(){return function xe(){return new ae((0,r.LFG)(Oe))}()},providedIn:"platform"}),C})();function we(){return!!window.history.pushState}function vt(C,k){if(0==C.length)return k;if(0==k.length)return C;let N=0;return C.endsWith("/")&&N++,k.startsWith("/")&&N++,2==N?C+k.substring(1):1==N?C+k:C+"/"+k}function Ue(C){const k=C.match(/#|\?|$/),N=k&&k.index||C.length;return C.slice(0,N-("/"===C[N-1]?1:0))+C.slice(N)}function tt(C){return C&&"?"!==C[0]?"?"+C:C}let Ae=(()=>{class C{historyGo(N){throw new Error("Not implemented")}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275prov=r.Yz7({token:C,factory:function(){return(0,r.f3M)(Xe)},providedIn:"root"}),C})();const lt=new r.OlP("appBaseHref");let Xe=(()=>{class C extends Ae{constructor(N,j){super(),this._platformLocation=N,this._removeListenerFns=[],this._baseHref=j??this._platformLocation.getBaseHrefFromDOM()??(0,r.f3M)(Oe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.onHashChange(N))}getBaseHref(){return this._baseHref}prepareExternalUrl(N){return vt(this._baseHref,N)}path(N=!1){const j=this._platformLocation.pathname+tt(this._platformLocation.search),re=this._platformLocation.hash;return re&&N?`${j}${re}`:j}pushState(N,j,re,je){const it=this.prepareExternalUrl(re+tt(je));this._platformLocation.pushState(N,j,it)}replaceState(N,j,re,je){const it=this.prepareExternalUrl(re+tt(je));this._platformLocation.replaceState(N,j,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){this._platformLocation.historyGo?.(N)}}return C.\u0275fac=function(N){return new(N||C)(r.LFG(Pe),r.LFG(lt,8))},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),C})(),Lt=(()=>{class C extends Ae{constructor(N,j){super(),this._platformLocation=N,this._baseHref="",this._removeListenerFns=[],null!=j&&(this._baseHref=j)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(N){this._removeListenerFns.push(this._platformLocation.onPopState(N),this._platformLocation.onHashChange(N))}getBaseHref(){return this._baseHref}path(N=!1){let j=this._platformLocation.hash;return null==j&&(j="#"),j.length>0?j.substring(1):j}prepareExternalUrl(N){const j=vt(this._baseHref,N);return j.length>0?"#"+j:j}pushState(N,j,re,je){let it=this.prepareExternalUrl(re+tt(je));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.pushState(N,j,it)}replaceState(N,j,re,je){let it=this.prepareExternalUrl(re+tt(je));0==it.length&&(it=this._platformLocation.pathname),this._platformLocation.replaceState(N,j,it)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(N=0){this._platformLocation.historyGo?.(N)}}return C.\u0275fac=function(N){return new(N||C)(r.LFG(Pe),r.LFG(lt,8))},C.\u0275prov=r.Yz7({token:C,factory:C.\u0275fac}),C})(),Mt=(()=>{class C{constructor(N){this._subject=new r.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=N;const j=this._locationStrategy.getBaseHref();this._basePath=function mt(C){if(new RegExp("^(https?:)?//").test(C)){const[,N]=C.split(/\/\/[^\/]+/);return N}return C}(Ue(Ie(j))),this._locationStrategy.onPopState(re=>{this._subject.emit({url:this.path(!0),pop:!0,state:re.state,type:re.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(N=!1){return this.normalize(this._locationStrategy.path(N))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(N,j=""){return this.path()==this.normalize(N+tt(j))}normalize(N){return C.stripTrailingSlash(function ce(C,k){if(!C||!k.startsWith(C))return k;const N=k.substring(C.length);return""===N||["/",";","?","#"].includes(N[0])?N:k}(this._basePath,Ie(N)))}prepareExternalUrl(N){return N&&"/"!==N[0]&&(N="/"+N),this._locationStrategy.prepareExternalUrl(N)}go(N,j="",re=null){this._locationStrategy.pushState(re,"",N,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+tt(j)),re)}replaceState(N,j="",re=null){this._locationStrategy.replaceState(re,"",N,j),this._notifyUrlChangeListeners(this.prepareExternalUrl(N+tt(j)),re)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(N=0){this._locationStrategy.historyGo?.(N)}onUrlChange(N){return this._urlChangeListeners.push(N),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(j=>{this._notifyUrlChangeListeners(j.url,j.state)})),()=>{const j=this._urlChangeListeners.indexOf(N);this._urlChangeListeners.splice(j,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(N="",j){this._urlChangeListeners.forEach(re=>re(N,j))}subscribe(N,j,re){return this._subject.subscribe({next:N,error:j,complete:re})}}return C.normalizeQueryParams=tt,C.joinWithSlash=vt,C.stripTrailingSlash=Ue,C.\u0275fac=function(N){return new(N||C)(r.LFG(Ae))},C.\u0275prov=r.Yz7({token:C,factory:function(){return function me(){return new Mt((0,r.LFG)(Ae))}()},providedIn:"root"}),C})();function Ie(C){return C.replace(/\/index.html$/,"")}var ut=(()=>((ut=ut||{})[ut.Decimal=0]="Decimal",ut[ut.Percent=1]="Percent",ut[ut.Currency=2]="Currency",ut[ut.Scientific=3]="Scientific",ut))(),At=(()=>((At=At||{})[At.Format=0]="Format",At[At.Standalone=1]="Standalone",At))(),at=(()=>((at=at||{})[at.Narrow=0]="Narrow",at[at.Abbreviated=1]="Abbreviated",at[at.Wide=2]="Wide",at[at.Short=3]="Short",at))(),Kt=(()=>((Kt=Kt||{})[Kt.Short=0]="Short",Kt[Kt.Medium=1]="Medium",Kt[Kt.Long=2]="Long",Kt[Kt.Full=3]="Full",Kt))(),st=(()=>((st=st||{})[st.Decimal=0]="Decimal",st[st.Group=1]="Group",st[st.List=2]="List",st[st.PercentSign=3]="PercentSign",st[st.PlusSign=4]="PlusSign",st[st.MinusSign=5]="MinusSign",st[st.Exponential=6]="Exponential",st[st.SuperscriptingExponent=7]="SuperscriptingExponent",st[st.PerMille=8]="PerMille",st[st.Infinity=9]="Infinity",st[st.NaN=10]="NaN",st[st.TimeSeparator=11]="TimeSeparator",st[st.CurrencyDecimal=12]="CurrencyDecimal",st[st.CurrencyGroup=13]="CurrencyGroup",st))();function tn(C,k,N){const j=(0,r.cg1)(C),je=oe([j[r.wAp.DayPeriodsFormat],j[r.wAp.DayPeriodsStandalone]],k);return oe(je,N)}function Yn(C,k,N){const j=(0,r.cg1)(C),je=oe([j[r.wAp.DaysFormat],j[r.wAp.DaysStandalone]],k);return oe(je,N)}function He(C,k,N){const j=(0,r.cg1)(C),je=oe([j[r.wAp.MonthsFormat],j[r.wAp.MonthsStandalone]],k);return oe(je,N)}function Re(C,k){return oe((0,r.cg1)(C)[r.wAp.DateFormat],k)}function te(C,k){return oe((0,r.cg1)(C)[r.wAp.TimeFormat],k)}function Te(C,k){return oe((0,r.cg1)(C)[r.wAp.DateTimeFormat],k)}function Ge(C,k){const N=(0,r.cg1)(C),j=N[r.wAp.NumberSymbols][k];if(typeof j>"u"){if(k===st.CurrencyDecimal)return N[r.wAp.NumberSymbols][st.Decimal];if(k===st.CurrencyGroup)return N[r.wAp.NumberSymbols][st.Group]}return j}function qt(C,k){return(0,r.cg1)(C)[r.wAp.NumberFormats][k]}function Cn(C){if(!C[r.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${C[r.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function oe(C,k){for(let N=k;N>-1;N--)if(typeof C[N]<"u")return C[N];throw new Error("Locale data API: locale data undefined")}function Ne(C){const[k,N]=C.split(":");return{hours:+k,minutes:+N}}const Je=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ht={},Pt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ot=(()=>((Ot=Ot||{})[Ot.Short=0]="Short",Ot[Ot.ShortGMT=1]="ShortGMT",Ot[Ot.Long=2]="Long",Ot[Ot.Extended=3]="Extended",Ot))(),dt=(()=>((dt=dt||{})[dt.FullYear=0]="FullYear",dt[dt.Month=1]="Month",dt[dt.Date=2]="Date",dt[dt.Hours=3]="Hours",dt[dt.Minutes=4]="Minutes",dt[dt.Seconds=5]="Seconds",dt[dt.FractionalSeconds=6]="FractionalSeconds",dt[dt.Day=7]="Day",dt))(),Se=(()=>((Se=Se||{})[Se.DayPeriods=0]="DayPeriods",Se[Se.Days=1]="Days",Se[Se.Months=2]="Months",Se[Se.Eras=3]="Eras",Se))();function zt(C,k,N,j){let re=function vn(C){if(be(C))return C;if("number"==typeof C&&!isNaN(C))return new Date(C);if("string"==typeof C){if(C=C.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(C)){const[re,je=1,it=1]=C.split("-").map(Yt=>+Yt);return Pn(re,je-1,it)}const N=parseFloat(C);if(!isNaN(C-N))return new Date(N);let j;if(j=C.match(Je))return function Mn(C){const k=new Date(0);let N=0,j=0;const re=C[8]?k.setUTCFullYear:k.setFullYear,je=C[8]?k.setUTCHours:k.setHours;C[9]&&(N=Number(C[9]+C[10]),j=Number(C[9]+C[11])),re.call(k,Number(C[1]),Number(C[2])-1,Number(C[3]));const it=Number(C[4]||0)-N,Yt=Number(C[5]||0)-j,yn=Number(C[6]||0),tr=Math.floor(1e3*parseFloat("0."+(C[7]||0)));return je.call(k,it,Yt,yn,tr),k}(j)}const k=new Date(C);if(!be(k))throw new Error(`Unable to convert "${C}" into a date`);return k}(C);k=In(N,k)||k;let Yt,it=[];for(;k;){if(Yt=Pt.exec(k),!Yt){it.push(k);break}{it=it.concat(Yt.slice(1));const $n=it.pop();if(!$n)break;k=$n}}let yn=re.getTimezoneOffset();j&&(yn=Wt(j,yn),re=function rn(C,k,N){const j=N?-1:1,re=C.getTimezoneOffset();return function pn(C,k){return(C=new Date(C.getTime())).setMinutes(C.getMinutes()+k),C}(C,j*(Wt(k,re)-re))}(re,j,!0));let tr="";return it.forEach($n=>{const bn=function Et(C){if(Ze[C])return Ze[C];let k;switch(C){case"G":case"GG":case"GGG":k=an(Se.Eras,at.Abbreviated);break;case"GGGG":k=an(Se.Eras,at.Wide);break;case"GGGGG":k=an(Se.Eras,at.Narrow);break;case"y":k=un(dt.FullYear,1,0,!1,!0);break;case"yy":k=un(dt.FullYear,2,0,!0,!0);break;case"yyy":k=un(dt.FullYear,3,0,!1,!0);break;case"yyyy":k=un(dt.FullYear,4,0,!1,!0);break;case"Y":k=nt(1);break;case"YY":k=nt(2,!0);break;case"YYY":k=nt(3);break;case"YYYY":k=nt(4);break;case"M":case"L":k=un(dt.Month,1,1);break;case"MM":case"LL":k=un(dt.Month,2,1);break;case"MMM":k=an(Se.Months,at.Abbreviated);break;case"MMMM":k=an(Se.Months,at.Wide);break;case"MMMMM":k=an(Se.Months,at.Narrow);break;case"LLL":k=an(Se.Months,at.Abbreviated,At.Standalone);break;case"LLLL":k=an(Se.Months,at.Wide,At.Standalone);break;case"LLLLL":k=an(Se.Months,at.Narrow,At.Standalone);break;case"w":k=ye(1);break;case"ww":k=ye(2);break;case"W":k=ye(1,!0);break;case"d":k=un(dt.Date,1);break;case"dd":k=un(dt.Date,2);break;case"c":case"cc":k=un(dt.Day,1);break;case"ccc":k=an(Se.Days,at.Abbreviated,At.Standalone);break;case"cccc":k=an(Se.Days,at.Wide,At.Standalone);break;case"ccccc":k=an(Se.Days,at.Narrow,At.Standalone);break;case"cccccc":k=an(Se.Days,at.Short,At.Standalone);break;case"E":case"EE":case"EEE":k=an(Se.Days,at.Abbreviated);break;case"EEEE":k=an(Se.Days,at.Wide);break;case"EEEEE":k=an(Se.Days,at.Narrow);break;case"EEEEEE":k=an(Se.Days,at.Short);break;case"a":case"aa":case"aaa":k=an(Se.DayPeriods,at.Abbreviated);break;case"aaaa":k=an(Se.DayPeriods,at.Wide);break;case"aaaaa":k=an(Se.DayPeriods,at.Narrow);break;case"b":case"bb":case"bbb":k=an(Se.DayPeriods,at.Abbreviated,At.Standalone,!0);break;case"bbbb":k=an(Se.DayPeriods,at.Wide,At.Standalone,!0);break;case"bbbbb":k=an(Se.DayPeriods,at.Narrow,At.Standalone,!0);break;case"B":case"BB":case"BBB":k=an(Se.DayPeriods,at.Abbreviated,At.Format,!0);break;case"BBBB":k=an(Se.DayPeriods,at.Wide,At.Format,!0);break;case"BBBBB":k=an(Se.DayPeriods,at.Narrow,At.Format,!0);break;case"h":k=un(dt.Hours,1,-12);break;case"hh":k=un(dt.Hours,2,-12);break;case"H":k=un(dt.Hours,1);break;case"HH":k=un(dt.Hours,2);break;case"m":k=un(dt.Minutes,1);break;case"mm":k=un(dt.Minutes,2);break;case"s":k=un(dt.Seconds,1);break;case"ss":k=un(dt.Seconds,2);break;case"S":k=un(dt.FractionalSeconds,1);break;case"SS":k=un(dt.FractionalSeconds,2);break;case"SSS":k=un(dt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":k=qn(Ot.Short);break;case"ZZZZZ":k=qn(Ot.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":k=qn(Ot.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":k=qn(Ot.Long);break;default:return null}return Ze[C]=k,k}($n);tr+=bn?bn(re,N,yn):"''"===$n?"'":$n.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),tr}function Pn(C,k,N){const j=new Date(0);return j.setFullYear(C,k,N),j.setHours(0,0,0),j}function In(C,k){const N=function hn(C){return(0,r.cg1)(C)[r.wAp.LocaleId]}(C);if(Ht[N]=Ht[N]||{},Ht[N][k])return Ht[N][k];let j="";switch(k){case"shortDate":j=Re(C,Kt.Short);break;case"mediumDate":j=Re(C,Kt.Medium);break;case"longDate":j=Re(C,Kt.Long);break;case"fullDate":j=Re(C,Kt.Full);break;case"shortTime":j=te(C,Kt.Short);break;case"mediumTime":j=te(C,Kt.Medium);break;case"longTime":j=te(C,Kt.Long);break;case"fullTime":j=te(C,Kt.Full);break;case"short":const re=In(C,"shortTime"),je=In(C,"shortDate");j=Dt(Te(C,Kt.Short),[re,je]);break;case"medium":const it=In(C,"mediumTime"),Yt=In(C,"mediumDate");j=Dt(Te(C,Kt.Medium),[it,Yt]);break;case"long":const yn=In(C,"longTime"),tr=In(C,"longDate");j=Dt(Te(C,Kt.Long),[yn,tr]);break;case"full":const $n=In(C,"fullTime"),bn=In(C,"fullDate");j=Dt(Te(C,Kt.Full),[$n,bn])}return j&&(Ht[N][k]=j),j}function Dt(C,k){return k&&(C=C.replace(/\{([^}]+)}/g,function(N,j){return null!=k&&j in k?k[j]:N})),C}function ft(C,k,N="-",j,re){let je="";(C<0||re&&C<=0)&&(re?C=1-C:(C=-C,je=N));let it=String(C);for(;it.length0||Yt>-N)&&(Yt+=N),C===dt.Hours)0===Yt&&-12===N&&(Yt=12);else if(C===dt.FractionalSeconds)return function Sn(C,k){return ft(C,3).substring(0,k)}(Yt,k);const yn=Ge(it,st.MinusSign);return ft(Yt,k,yn,j,re)}}function an(C,k,N=At.Format,j=!1){return function(re,je){return function or(C,k,N,j,re,je){switch(N){case Se.Months:return He(k,re,j)[C.getMonth()];case Se.Days:return Yn(k,re,j)[C.getDay()];case Se.DayPeriods:const it=C.getHours(),Yt=C.getMinutes();if(je){const tr=function Xt(C){const k=(0,r.cg1)(C);return Cn(k),(k[r.wAp.ExtraData][2]||[]).map(j=>"string"==typeof j?Ne(j):[Ne(j[0]),Ne(j[1])])}(k),$n=function Me(C,k,N){const j=(0,r.cg1)(C);Cn(j);const je=oe([j[r.wAp.ExtraData][0],j[r.wAp.ExtraData][1]],k)||[];return oe(je,N)||[]}(k,re,j),bn=tr.findIndex(Er=>{if(Array.isArray(Er)){const[ar,Vr]=Er,hi=it>=ar.hours&&Yt>=ar.minutes,Yi=it0?Math.floor(re/60):Math.ceil(re/60);switch(C){case Ot.Short:return(re>=0?"+":"")+ft(it,2,je)+ft(Math.abs(re%60),2,je);case Ot.ShortGMT:return"GMT"+(re>=0?"+":"")+ft(it,1,je);case Ot.Long:return"GMT"+(re>=0?"+":"")+ft(it,2,je)+":"+ft(Math.abs(re%60),2,je);case Ot.Extended:return 0===j?"Z":(re>=0?"+":"")+ft(it,2,je)+":"+ft(Math.abs(re%60),2,je);default:throw new Error(`Unknown zone width "${C}"`)}}}const Sr=0,Hn=4;function ie(C){return Pn(C.getFullYear(),C.getMonth(),C.getDate()+(Hn-C.getDay()))}function ye(C,k=!1){return function(N,j){let re;if(k){const je=new Date(N.getFullYear(),N.getMonth(),1).getDay()-1,it=N.getDate();re=1+Math.floor((it+je)/7)}else{const je=ie(N),it=function qe(C){const k=Pn(C,Sr,1).getDay();return Pn(C,0,1+(k<=Hn?Hn:Hn+7)-k)}(je.getFullYear()),Yt=je.getTime()-it.getTime();re=1+Math.round(Yt/6048e5)}return ft(re,C,Ge(j,st.MinusSign))}}function nt(C,k=!1){return function(N,j){return ft(ie(N).getFullYear(),C,Ge(j,st.MinusSign),k)}}const Ze={};function Wt(C,k){C=C.replace(/:/g,"");const N=Date.parse("Jan 01, 1970 00:00:00 "+C)/6e4;return isNaN(N)?k:N}function be(C){return C instanceof Date&&!isNaN(C.valueOf())}const he=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Y=22,X=".",We="0",It=";",xt=",",en="#";function pr(C,k,N,j,re,je,it=!1){let Yt="",yn=!1;if(isFinite(C)){let tr=function Yr(C){let j,re,je,it,Yt,k=Math.abs(C)+"",N=0;for((re=k.indexOf(X))>-1&&(k=k.replace(X,"")),(je=k.search(/e/i))>0?(re<0&&(re=je),re+=+k.slice(je+1),k=k.substring(0,je)):re<0&&(re=k.length),je=0;k.charAt(je)===We;je++);if(je===(Yt=k.length))j=[0],re=1;else{for(Yt--;k.charAt(Yt)===We;)Yt--;for(re-=je,j=[],it=0;je<=Yt;je++,it++)j[it]=Number(k.charAt(je))}return re>Y&&(j=j.splice(0,Y-1),N=re-1,re=1),{digits:j,exponent:N,integerLen:re}}(C);it&&(tr=function ci(C){if(0===C.digits[0])return C;const k=C.digits.length-C.integerLen;return C.exponent?C.exponent+=2:(0===k?C.digits.push(0,0):1===k&&C.digits.push(0),C.integerLen+=2),C}(tr));let $n=k.minInt,bn=k.minFrac,Er=k.maxFrac;if(je){const pi=je.match(he);if(null===pi)throw new Error(`${je} is not a valid digit info`);const qi=pi[1],Ei=pi[3],Eo=pi[5];null!=qi&&($n=K(qi)),null!=Ei&&(bn=K(Ei)),null!=Eo?Er=K(Eo):null!=Ei&&bn>Er&&(Er=bn)}!function qr(C,k,N){if(k>N)throw new Error(`The minimum number of digits after fraction (${k}) is higher than the maximum (${N}).`);let j=C.digits,re=j.length-C.integerLen;const je=Math.min(Math.max(k,re),N);let it=je+C.integerLen,Yt=j[it];if(it>0){j.splice(Math.max(C.integerLen,it));for(let bn=it;bn=5)if(it-1<0){for(let bn=0;bn>it;bn--)j.unshift(0),C.integerLen++;j.unshift(1),C.integerLen++}else j[it-1]++;for(;re=tr?Vr.pop():yn=!1),Er>=10?1:0},0);$n&&(j.unshift($n),C.integerLen++)}(tr,bn,Er);let ar=tr.digits,Vr=tr.integerLen;const hi=tr.exponent;let Yi=[];for(yn=ar.every(pi=>!pi);Vr<$n;Vr++)ar.unshift(0);for(;Vr<0;Vr++)ar.unshift(0);Vr>0?Yi=ar.splice(Vr,ar.length):(Yi=ar,ar=[0]);const wo=[];for(ar.length>=k.lgSize&&wo.unshift(ar.splice(-k.lgSize,ar.length).join(""));ar.length>k.gSize;)wo.unshift(ar.splice(-k.gSize,ar.length).join(""));ar.length&&wo.unshift(ar.join("")),Yt=wo.join(Ge(N,j)),Yi.length&&(Yt+=Ge(N,re)+Yi.join("")),hi&&(Yt+=Ge(N,st.Exponential)+"+"+hi)}else Yt=Ge(N,st.Infinity);return Yt=C<0&&!yn?k.negPre+Yt+k.negSuf:k.posPre+Yt+k.posSuf,Yt}function ri(C,k="-"){const N={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},j=C.split(It),re=j[0],je=j[1],it=-1!==re.indexOf(X)?re.split(X):[re.substring(0,re.lastIndexOf(We)+1),re.substring(re.lastIndexOf(We)+1)],Yt=it[0],yn=it[1]||"";N.posPre=Yt.substring(0,Yt.indexOf(en));for(let $n=0;$n{class C{constructor(N,j,re,je){this._iterableDiffers=N,this._keyValueDiffers=j,this._ngEl=re,this._renderer=je,this.initialClasses=Rn,this.stateMap=new Map}set klass(N){this.initialClasses=null!=N?N.trim().split(Bt):Rn}set ngClass(N){this.rawClass="string"==typeof N?N.trim().split(Bt):N}ngDoCheck(){for(const j of this.initialClasses)this._updateState(j,!0);const N=this.rawClass;if(Array.isArray(N)||N instanceof Set)for(const j of N)this._updateState(j,!0);else if(null!=N)for(const j of Object.keys(N))this._updateState(j,Boolean(N[j]));this._applyStateDiff()}_updateState(N,j){const re=this.stateMap.get(N);void 0!==re?(re.enabled!==j&&(re.changed=!0,re.enabled=j),re.touched=!0):this.stateMap.set(N,{enabled:j,changed:!0,touched:!0})}_applyStateDiff(){for(const N of this.stateMap){const j=N[0],re=N[1];re.changed?(this._toggleClass(j,re.enabled),re.changed=!1):re.touched||(re.enabled&&this._toggleClass(j,!1),this.stateMap.delete(j)),re.touched=!1}}_toggleClass(N,j){(N=N.trim()).length>0&&N.split(Bt).forEach(re=>{j?this._renderer.addClass(this._ngEl.nativeElement,re):this._renderer.removeClass(this._ngEl.nativeElement,re)})}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.ZZ4),r.Y36(r.aQg),r.Y36(r.SBq),r.Y36(r.Qsj))},C.\u0275dir=r.lG2({type:C,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),C})();class sn{constructor(k,N,j,re){this.$implicit=k,this.ngForOf=N,this.index=j,this.count=re}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let xn=(()=>{class C{set ngForOf(N){this._ngForOf=N,this._ngForOfDirty=!0}set ngForTrackBy(N){this._trackByFn=N}get ngForTrackBy(){return this._trackByFn}constructor(N,j,re){this._viewContainer=N,this._template=j,this._differs=re,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(N){N&&(this._template=N)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const N=this._ngForOf;!this._differ&&N&&(this._differ=this._differs.find(N).create(this.ngForTrackBy))}if(this._differ){const N=this._differ.diff(this._ngForOf);N&&this._applyChanges(N)}}_applyChanges(N){const j=this._viewContainer;N.forEachOperation((re,je,it)=>{if(null==re.previousIndex)j.createEmbeddedView(this._template,new sn(re.item,this._ngForOf,-1,-1),null===it?void 0:it);else if(null==it)j.remove(null===je?void 0:je);else if(null!==je){const Yt=j.get(je);j.move(Yt,it),br(Yt,re)}});for(let re=0,je=j.length;re{br(j.get(re.currentIndex),re)})}static ngTemplateContextGuard(N,j){return!0}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},C.\u0275dir=r.lG2({type:C,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),C})();function br(C,k){C.context.$implicit=k.item}let sr=(()=>{class C{constructor(N,j){this._viewContainer=N,this._context=new Ni,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=j}set ngIf(N){this._context.$implicit=this._context.ngIf=N,this._updateView()}set ngIfThen(N){Ln("ngIfThen",N),this._thenTemplateRef=N,this._thenViewRef=null,this._updateView()}set ngIfElse(N){Ln("ngIfElse",N),this._elseTemplateRef=N,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(N,j){return!0}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.s_b),r.Y36(r.Rgc))},C.\u0275dir=r.lG2({type:C,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),C})();class Ni{constructor(){this.$implicit=null,this.ngIf=null}}function Ln(C,k){if(k&&!k.createEmbeddedView)throw new Error(`${C} must be a TemplateRef, but received '${(0,r.AaK)(k)}'.`)}let Ur=(()=>{class C{constructor(N,j,re){this._ngEl=N,this._differs=j,this._renderer=re,this._ngStyle=null,this._differ=null}set ngStyle(N){this._ngStyle=N,!this._differ&&N&&(this._differ=this._differs.find(N).create())}ngDoCheck(){if(this._differ){const N=this._differ.diff(this._ngStyle);N&&this._applyChanges(N)}}_setStyle(N,j){const[re,je]=N.split("."),it=-1===re.indexOf("-")?void 0:r.JOm.DashCase;null!=j?this._renderer.setStyle(this._ngEl.nativeElement,re,je?`${j}${je}`:j,it):this._renderer.removeStyle(this._ngEl.nativeElement,re,it)}_applyChanges(N){N.forEachRemovedItem(j=>this._setStyle(j.key,null)),N.forEachAddedItem(j=>this._setStyle(j.key,j.currentValue)),N.forEachChangedItem(j=>this._setStyle(j.key,j.currentValue))}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.SBq),r.Y36(r.aQg),r.Y36(r.Qsj))},C.\u0275dir=r.lG2({type:C,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),C})(),Co=(()=>{class C{constructor(N){this._viewContainerRef=N,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(N){if(N.ngTemplateOutlet||N.ngTemplateOutletInjector){const j=this._viewContainerRef;if(this._viewRef&&j.remove(j.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:re,ngTemplateOutletContext:je,ngTemplateOutletInjector:it}=this;this._viewRef=j.createEmbeddedView(re,je,it?{injector:it}:void 0)}else this._viewRef=null}else this._viewRef&&N.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.s_b))},C.\u0275dir=r.lG2({type:C,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[r.TTD]}),C})();function Dr(C,k){return new r.vHH(2100,!1)}let ho=(()=>{class C{transform(N){if(null==N)return null;if("string"!=typeof N)throw Dr();return N.toLowerCase()}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275pipe=r.Yjl({name:"lowercase",type:C,pure:!0,standalone:!0}),C})();const Zn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let eo=(()=>{class C{transform(N){if(null==N)return null;if("string"!=typeof N)throw Dr();return N.replace(Zn,j=>j[0].toUpperCase()+j.slice(1).toLowerCase())}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275pipe=r.Yjl({name:"titlecase",type:C,pure:!0,standalone:!0}),C})(),Hi=(()=>{class C{transform(N){if(null==N)return null;if("string"!=typeof N)throw Dr();return N.toUpperCase()}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275pipe=r.Yjl({name:"uppercase",type:C,pure:!0,standalone:!0}),C})();const Lo=new r.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),jr=new r.OlP("DATE_PIPE_DEFAULT_OPTIONS");let zn=(()=>{class C{constructor(N,j,re){this.locale=N,this.defaultTimezone=j,this.defaultOptions=re}transform(N,j,re,je){if(null==N||""===N||N!=N)return null;try{return zt(N,j??this.defaultOptions?.dateFormat??"mediumDate",je||this.locale,re??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(it){throw Dr()}}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.soG,16),r.Y36(Lo,24),r.Y36(jr,24))},C.\u0275pipe=r.Yjl({name:"date",type:C,pure:!0,standalone:!0}),C})(),Ii=(()=>{class C{constructor(N){this.differs=N,this.keyValues=[],this.compareFn=Ri}transform(N,j=Ri){if(!N||!(N instanceof Map)&&"object"!=typeof N)return null;this.differ||(this.differ=this.differs.find(N).create());const re=this.differ.diff(N),je=j!==this.compareFn;return re&&(this.keyValues=[],re.forEachItem(it=>{this.keyValues.push(function Ai(C,k){return{key:C,value:k}}(it.key,it.currentValue))})),(re||je)&&(this.keyValues.sort(j),this.compareFn=j),this.keyValues}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.aQg,16))},C.\u0275pipe=r.Yjl({name:"keyvalue",type:C,pure:!1,standalone:!0}),C})();function Ri(C,k){const N=C.key,j=k.key;if(N===j)return 0;if(void 0===N)return 1;if(void 0===j)return-1;if(null===N)return 1;if(null===j)return-1;if("string"==typeof N&&"string"==typeof j)return N{class C{constructor(N){this._locale=N}transform(N,j,re){if(!Mo(N))return null;re=re||this._locale;try{return function Hr(C,k,N){return pr(C,ri(qt(k,ut.Decimal),Ge(k,st.MinusSign)),k,st.Group,st.Decimal,N)}(No(N),re,j)}catch(je){throw Dr()}}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.soG,16))},C.\u0275pipe=r.Yjl({name:"number",type:C,pure:!0,standalone:!0}),C})(),Bo=(()=>{class C{constructor(N){this._locale=N}transform(N,j,re){if(!Mo(N))return null;re=re||this._locale;try{return function Wr(C,k,N){return pr(C,ri(qt(k,ut.Percent),Ge(k,st.MinusSign)),k,st.Group,st.Decimal,N,!0).replace(new RegExp("%","g"),Ge(k,st.PercentSign))}(No(N),re,j)}catch(je){throw Dr()}}}return C.\u0275fac=function(N){return new(N||C)(r.Y36(r.soG,16))},C.\u0275pipe=r.Yjl({name:"percent",type:C,pure:!0,standalone:!0}),C})();function Mo(C){return!(null==C||""===C||C!=C)}function No(C){if("string"==typeof C&&!isNaN(Number(C)-parseFloat(C)))return Number(C);if("number"!=typeof C)throw new Error(`${C} is not a number`);return C}let Ui=(()=>{class C{transform(N,j,re){if(null==N)return null;if(!this.supports(N))throw Dr();return N.slice(j,re)}supports(N){return"string"==typeof N||Array.isArray(N)}}return C.\u0275fac=function(N){return new(N||C)},C.\u0275pipe=r.Yjl({name:"slice",type:C,pure:!1,standalone:!0}),C})(),Vo=(()=>{class C{}return C.\u0275fac=function(N){return new(N||C)},C.\u0275mod=r.oAB({type:C}),C.\u0275inj=r.cJS({}),C})();const ss="browser";function Ds(C){return C===ss}let ls=(()=>{class C{}return C.\u0275prov=(0,r.Yz7)({token:C,providedIn:"root",factory:()=>new Pi((0,r.LFG)(Oe),window)}),C})();class Pi{constructor(k,N){this.document=k,this.window=N,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const N=function ji(C,k){const N=C.getElementById(k)||C.getElementsByName(k)[0];if(N)return N;if("function"==typeof C.createTreeWalker&&C.body&&(C.body.createShadowRoot||C.body.attachShadow)){const j=C.createTreeWalker(C.body,NodeFilter.SHOW_ELEMENT);let re=j.currentNode;for(;re;){const je=re.shadowRoot;if(je){const it=je.getElementById(k)||je.querySelector(`[name="${k}"]`);if(it)return it}re=j.nextNode()}}return null}(this.document,k);N&&(this.scrollToElement(N),N.focus())}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const N=this.window.history;N&&N.scrollRestoration&&(N.scrollRestoration=k)}}scrollToElement(k){const N=k.getBoundingClientRect(),j=N.left+this.window.pageXOffset,re=N.top+this.window.pageYOffset,je=this.offset();this.window.scrollTo(j-je[0],re-je[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=ws(this.window.history)||ws(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function ws(C){return Object.getOwnPropertyDescriptor(C,"scrollRestoration")}class ro{}},529:(kt,$e,V)=>{"use strict";V.d($e,{JF:()=>qn,LE:()=>Xe,TP:()=>Fe,UA:()=>st,WM:()=>ae,eN:()=>hn});var r=V(6895),L=V(1571),se=V(9646),de=V(9751),ve=V(4351),Oe=V(9300),Pe=V(4004);class pe{}class ke{}class ae{constructor(ie){this.normalizedNames=new Map,this.lazyUpdate=null,ie?this.lazyInit="string"==typeof ie?()=>{this.headers=new Map,ie.split("\n").forEach(ye=>{const nt=ye.indexOf(":");if(nt>0){const Ze=ye.slice(0,nt),Et=Ze.toLowerCase(),Wt=ye.slice(nt+1).trim();this.maybeSetNormalizedName(Ze,Et),this.headers.has(Et)?this.headers.get(Et).push(Wt):this.headers.set(Et,[Wt])}})}:()=>{this.headers=new Map,Object.entries(ie).forEach(([ye,nt])=>{let Ze;if(Ze="string"==typeof nt?[nt]:"number"==typeof nt?[nt.toString()]:nt.map(Et=>Et.toString()),Ze.length>0){const Et=ye.toLowerCase();this.headers.set(Et,Ze),this.maybeSetNormalizedName(ye,Et)}})}:this.headers=new Map}has(ie){return this.init(),this.headers.has(ie.toLowerCase())}get(ie){this.init();const ye=this.headers.get(ie.toLowerCase());return ye&&ye.length>0?ye[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(ie){return this.init(),this.headers.get(ie.toLowerCase())||null}append(ie,ye){return this.clone({name:ie,value:ye,op:"a"})}set(ie,ye){return this.clone({name:ie,value:ye,op:"s"})}delete(ie,ye){return this.clone({name:ie,value:ye,op:"d"})}maybeSetNormalizedName(ie,ye){this.normalizedNames.has(ye)||this.normalizedNames.set(ye,ie)}init(){this.lazyInit&&(this.lazyInit instanceof ae?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(ie=>this.applyUpdate(ie)),this.lazyUpdate=null))}copyFrom(ie){ie.init(),Array.from(ie.headers.keys()).forEach(ye=>{this.headers.set(ye,ie.headers.get(ye)),this.normalizedNames.set(ye,ie.normalizedNames.get(ye))})}clone(ie){const ye=new ae;return ye.lazyInit=this.lazyInit&&this.lazyInit instanceof ae?this.lazyInit:this,ye.lazyUpdate=(this.lazyUpdate||[]).concat([ie]),ye}applyUpdate(ie){const ye=ie.name.toLowerCase();switch(ie.op){case"a":case"s":let nt=ie.value;if("string"==typeof nt&&(nt=[nt]),0===nt.length)return;this.maybeSetNormalizedName(ie.name,ye);const Ze=("a"===ie.op?this.headers.get(ye):void 0)||[];Ze.push(...nt),this.headers.set(ye,Ze);break;case"d":const Et=ie.value;if(Et){let Wt=this.headers.get(ye);if(!Wt)return;Wt=Wt.filter(pn=>-1===Et.indexOf(pn)),0===Wt.length?(this.headers.delete(ye),this.normalizedNames.delete(ye)):this.headers.set(ye,Wt)}else this.headers.delete(ye),this.normalizedNames.delete(ye)}}forEach(ie){this.init(),Array.from(this.normalizedNames.keys()).forEach(ye=>ie(this.normalizedNames.get(ye),this.headers.get(ye)))}}class xe{encodeKey(ie){return Ae(ie)}encodeValue(ie){return Ae(ie)}decodeKey(ie){return decodeURIComponent(ie)}decodeValue(ie){return decodeURIComponent(ie)}}const Ue=/%(\d[a-f0-9])/gi,tt={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ae(qe){return encodeURIComponent(qe).replace(Ue,(ie,ye)=>tt[ye]??ie)}function lt(qe){return`${qe}`}class Xe{constructor(ie={}){if(this.updates=null,this.cloneFrom=null,this.encoder=ie.encoder||new xe,ie.fromString){if(ie.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function vt(qe,ie){const ye=new Map;return qe.length>0&&qe.replace(/^\?/,"").split("&").forEach(Ze=>{const Et=Ze.indexOf("="),[Wt,pn]=-1==Et?[ie.decodeKey(Ze),""]:[ie.decodeKey(Ze.slice(0,Et)),ie.decodeValue(Ze.slice(Et+1))],rn=ye.get(Wt)||[];rn.push(pn),ye.set(Wt,rn)}),ye}(ie.fromString,this.encoder)}else ie.fromObject?(this.map=new Map,Object.keys(ie.fromObject).forEach(ye=>{const nt=ie.fromObject[ye],Ze=Array.isArray(nt)?nt.map(lt):[lt(nt)];this.map.set(ye,Ze)})):this.map=null}has(ie){return this.init(),this.map.has(ie)}get(ie){this.init();const ye=this.map.get(ie);return ye?ye[0]:null}getAll(ie){return this.init(),this.map.get(ie)||null}keys(){return this.init(),Array.from(this.map.keys())}append(ie,ye){return this.clone({param:ie,value:ye,op:"a"})}appendAll(ie){const ye=[];return Object.keys(ie).forEach(nt=>{const Ze=ie[nt];Array.isArray(Ze)?Ze.forEach(Et=>{ye.push({param:nt,value:Et,op:"a"})}):ye.push({param:nt,value:Ze,op:"a"})}),this.clone(ye)}set(ie,ye){return this.clone({param:ie,value:ye,op:"s"})}delete(ie,ye){return this.clone({param:ie,value:ye,op:"d"})}toString(){return this.init(),this.keys().map(ie=>{const ye=this.encoder.encodeKey(ie);return this.map.get(ie).map(nt=>ye+"="+this.encoder.encodeValue(nt)).join("&")}).filter(ie=>""!==ie).join("&")}clone(ie){const ye=new Xe({encoder:this.encoder});return ye.cloneFrom=this.cloneFrom||this,ye.updates=(this.updates||[]).concat(ie),ye}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(ie=>this.map.set(ie,this.cloneFrom.map.get(ie))),this.updates.forEach(ie=>{switch(ie.op){case"a":case"s":const ye=("a"===ie.op?this.map.get(ie.param):void 0)||[];ye.push(lt(ie.value)),this.map.set(ie.param,ye);break;case"d":if(void 0===ie.value){this.map.delete(ie.param);break}{let nt=this.map.get(ie.param)||[];const Ze=nt.indexOf(lt(ie.value));-1!==Ze&&nt.splice(Ze,1),nt.length>0?this.map.set(ie.param,nt):this.map.delete(ie.param)}}}),this.cloneFrom=this.updates=null)}}class Mt{constructor(){this.map=new Map}set(ie,ye){return this.map.set(ie,ye),this}get(ie){return this.map.has(ie)||this.map.set(ie,ie.defaultValue()),this.map.get(ie)}delete(ie){return this.map.delete(ie),this}has(ie){return this.map.has(ie)}keys(){return this.map.keys()}}function ce(qe){return typeof ArrayBuffer<"u"&&qe instanceof ArrayBuffer}function Ie(qe){return typeof Blob<"u"&&qe instanceof Blob}function mt(qe){return typeof FormData<"u"&&qe instanceof FormData}class ut{constructor(ie,ye,nt,Ze){let Et;if(this.url=ye,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=ie.toUpperCase(),function me(qe){switch(qe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Ze?(this.body=void 0!==nt?nt:null,Et=Ze):Et=nt,Et&&(this.reportProgress=!!Et.reportProgress,this.withCredentials=!!Et.withCredentials,Et.responseType&&(this.responseType=Et.responseType),Et.headers&&(this.headers=Et.headers),Et.context&&(this.context=Et.context),Et.params&&(this.params=Et.params)),this.headers||(this.headers=new ae),this.context||(this.context=new Mt),this.params){const Wt=this.params.toString();if(0===Wt.length)this.urlWithParams=ye;else{const pn=ye.indexOf("?");this.urlWithParams=ye+(-1===pn?"?":pnbe.set(he,ie.setHeaders[he]),rn)),ie.setParams&&(vn=Object.keys(ie.setParams).reduce((be,he)=>be.set(he,ie.setParams[he]),vn)),new ut(ye,nt,Et,{params:vn,headers:rn,context:Mn,reportProgress:pn,responseType:Ze,withCredentials:Wt})}}var pt=(()=>((pt=pt||{})[pt.Sent=0]="Sent",pt[pt.UploadProgress=1]="UploadProgress",pt[pt.ResponseHeader=2]="ResponseHeader",pt[pt.DownloadProgress=3]="DownloadProgress",pt[pt.Response=4]="Response",pt[pt.User=5]="User",pt))();class At{constructor(ie,ye=200,nt="OK"){this.headers=ie.headers||new ae,this.status=void 0!==ie.status?ie.status:ye,this.statusText=ie.statusText||nt,this.url=ie.url||null,this.ok=this.status>=200&&this.status<300}}class at extends At{constructor(ie={}){super(ie),this.type=pt.ResponseHeader}clone(ie={}){return new at({headers:ie.headers||this.headers,status:void 0!==ie.status?ie.status:this.status,statusText:ie.statusText||this.statusText,url:ie.url||this.url||void 0})}}class Kt extends At{constructor(ie={}){super(ie),this.type=pt.Response,this.body=void 0!==ie.body?ie.body:null}clone(ie={}){return new Kt({body:void 0!==ie.body?ie.body:this.body,headers:ie.headers||this.headers,status:void 0!==ie.status?ie.status:this.status,statusText:ie.statusText||this.statusText,url:ie.url||this.url||void 0})}}class st extends At{constructor(ie){super(ie,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${ie.url||"(unknown url)"}`:`Http failure response for ${ie.url||"(unknown url)"}: ${ie.status} ${ie.statusText}`,this.error=ie.error||null}}function Jt(qe,ie){return{body:ie,headers:qe.headers,context:qe.context,observe:qe.observe,params:qe.params,reportProgress:qe.reportProgress,responseType:qe.responseType,withCredentials:qe.withCredentials}}let hn=(()=>{class qe{constructor(ye){this.handler=ye}request(ye,nt,Ze={}){let Et;if(ye instanceof ut)Et=ye;else{let rn,vn;rn=Ze.headers instanceof ae?Ze.headers:new ae(Ze.headers),Ze.params&&(vn=Ze.params instanceof Xe?Ze.params:new Xe({fromObject:Ze.params})),Et=new ut(ye,nt,void 0!==Ze.body?Ze.body:null,{headers:rn,context:Ze.context,params:vn,reportProgress:Ze.reportProgress,responseType:Ze.responseType||"json",withCredentials:Ze.withCredentials})}const Wt=(0,se.of)(Et).pipe((0,ve.b)(rn=>this.handler.handle(rn)));if(ye instanceof ut||"events"===Ze.observe)return Wt;const pn=Wt.pipe((0,Oe.h)(rn=>rn instanceof Kt));switch(Ze.observe||"body"){case"body":switch(Et.responseType){case"arraybuffer":return pn.pipe((0,Pe.U)(rn=>{if(null!==rn.body&&!(rn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return rn.body}));case"blob":return pn.pipe((0,Pe.U)(rn=>{if(null!==rn.body&&!(rn.body instanceof Blob))throw new Error("Response is not a Blob.");return rn.body}));case"text":return pn.pipe((0,Pe.U)(rn=>{if(null!==rn.body&&"string"!=typeof rn.body)throw new Error("Response is not a string.");return rn.body}));default:return pn.pipe((0,Pe.U)(rn=>rn.body))}case"response":return pn;default:throw new Error(`Unreachable: unhandled observe type ${Ze.observe}}`)}}delete(ye,nt={}){return this.request("DELETE",ye,nt)}get(ye,nt={}){return this.request("GET",ye,nt)}head(ye,nt={}){return this.request("HEAD",ye,nt)}jsonp(ye,nt){return this.request("JSONP",ye,{params:(new Xe).append(nt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ye,nt={}){return this.request("OPTIONS",ye,nt)}patch(ye,nt,Ze={}){return this.request("PATCH",ye,Jt(Ze,nt))}post(ye,nt,Ze={}){return this.request("POST",ye,Jt(Ze,nt))}put(ye,nt,Ze={}){return this.request("PUT",ye,Jt(Ze,nt))}}return qe.\u0275fac=function(ye){return new(ye||qe)(L.LFG(pe))},qe.\u0275prov=L.Yz7({token:qe,factory:qe.\u0275fac}),qe})();function tn(qe,ie){return ie(qe)}function Yn(qe,ie){return(ye,nt)=>ie.intercept(ye,{handle:Ze=>qe(Ze,nt)})}const Fe=new L.OlP("HTTP_INTERCEPTORS"),ze=new L.OlP("HTTP_INTERCEPTOR_FNS");function fe(){let qe=null;return(ie,ye)=>(null===qe&&(qe=((0,L.f3M)(Fe,{optional:!0})??[]).reduceRight(Yn,tn)),qe(ie,ye))}let Re=(()=>{class qe extends pe{constructor(ye,nt){super(),this.backend=ye,this.injector=nt,this.chain=null}handle(ye){if(null===this.chain){const nt=Array.from(new Set(this.injector.get(ze)));this.chain=nt.reduceRight((Ze,Et)=>function He(qe,ie,ye){return(nt,Ze)=>ye.runInContext(()=>ie(nt,Et=>qe(Et,Ze)))}(Ze,Et,this.injector),tn)}return this.chain(ye,nt=>this.backend.handle(nt))}}return qe.\u0275fac=function(ye){return new(ye||qe)(L.LFG(ke),L.LFG(L.lqb))},qe.\u0275prov=L.Yz7({token:qe,factory:qe.\u0275fac}),qe})();const Me=/^\)\]\}',?\n/;let oe=(()=>{class qe{constructor(ye){this.xhrFactory=ye}handle(ye){if("JSONP"===ye.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new de.y(nt=>{const Ze=this.xhrFactory.build();if(Ze.open(ye.method,ye.urlWithParams),ye.withCredentials&&(Ze.withCredentials=!0),ye.headers.forEach((Y,X)=>Ze.setRequestHeader(Y,X.join(","))),ye.headers.has("Accept")||Ze.setRequestHeader("Accept","application/json, text/plain, */*"),!ye.headers.has("Content-Type")){const Y=ye.detectContentTypeHeader();null!==Y&&Ze.setRequestHeader("Content-Type",Y)}if(ye.responseType){const Y=ye.responseType.toLowerCase();Ze.responseType="json"!==Y?Y:"text"}const Et=ye.serializeBody();let Wt=null;const pn=()=>{if(null!==Wt)return Wt;const Y=Ze.statusText||"OK",X=new ae(Ze.getAllResponseHeaders()),We=function J(qe){return"responseURL"in qe&&qe.responseURL?qe.responseURL:/^X-Request-URL:/m.test(qe.getAllResponseHeaders())?qe.getResponseHeader("X-Request-URL"):null}(Ze)||ye.url;return Wt=new at({headers:X,status:Ze.status,statusText:Y,url:We}),Wt},rn=()=>{let{headers:Y,status:X,statusText:We,url:It}=pn(),xt=null;204!==X&&(xt=typeof Ze.response>"u"?Ze.responseText:Ze.response),0===X&&(X=xt?200:0);let en=X>=200&&X<300;if("json"===ye.responseType&&"string"==typeof xt){const on=xt;xt=xt.replace(Me,"");try{xt=""!==xt?JSON.parse(xt):null}catch(er){xt=on,en&&(en=!1,xt={error:er,text:xt})}}en?(nt.next(new Kt({body:xt,headers:Y,status:X,statusText:We,url:It||void 0})),nt.complete()):nt.error(new st({error:xt,headers:Y,status:X,statusText:We,url:It||void 0}))},vn=Y=>{const{url:X}=pn(),We=new st({error:Y,status:Ze.status||0,statusText:Ze.statusText||"Unknown Error",url:X||void 0});nt.error(We)};let Mn=!1;const be=Y=>{Mn||(nt.next(pn()),Mn=!0);let X={type:pt.DownloadProgress,loaded:Y.loaded};Y.lengthComputable&&(X.total=Y.total),"text"===ye.responseType&&Ze.responseText&&(X.partialText=Ze.responseText),nt.next(X)},he=Y=>{let X={type:pt.UploadProgress,loaded:Y.loaded};Y.lengthComputable&&(X.total=Y.total),nt.next(X)};return Ze.addEventListener("load",rn),Ze.addEventListener("error",vn),Ze.addEventListener("timeout",vn),Ze.addEventListener("abort",vn),ye.reportProgress&&(Ze.addEventListener("progress",be),null!==Et&&Ze.upload&&Ze.upload.addEventListener("progress",he)),Ze.send(Et),nt.next({type:pt.Sent}),()=>{Ze.removeEventListener("error",vn),Ze.removeEventListener("abort",vn),Ze.removeEventListener("load",rn),Ze.removeEventListener("timeout",vn),ye.reportProgress&&(Ze.removeEventListener("progress",be),null!==Et&&Ze.upload&&Ze.upload.removeEventListener("progress",he)),Ze.readyState!==Ze.DONE&&Ze.abort()}})}}return qe.\u0275fac=function(ye){return new(ye||qe)(L.LFG(r.JF))},qe.\u0275prov=L.Yz7({token:qe,factory:qe.\u0275fac}),qe})();const Ne=new L.OlP("XSRF_ENABLED"),Ke=new L.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Je=new L.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Ht{}let Pt=(()=>{class qe{constructor(ye,nt,Ze){this.doc=ye,this.platform=nt,this.cookieName=Ze,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ye=this.doc.cookie||"";return ye!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(ye,this.cookieName),this.lastCookieString=ye),this.lastToken}}return qe.\u0275fac=function(ye){return new(ye||qe)(L.LFG(r.K0),L.LFG(L.Lbi),L.LFG(Ke))},qe.\u0275prov=L.Yz7({token:qe,factory:qe.\u0275fac}),qe})();function Ot(qe,ie){const ye=qe.url.toLowerCase();if(!(0,L.f3M)(Ne)||"GET"===qe.method||"HEAD"===qe.method||ye.startsWith("http://")||ye.startsWith("https://"))return ie(qe);const nt=(0,L.f3M)(Ht).getToken(),Ze=(0,L.f3M)(Je);return null!=nt&&!qe.headers.has(Ze)&&(qe=qe.clone({headers:qe.headers.set(Ze,nt)})),ie(qe)}var Se=(()=>((Se=Se||{})[Se.Interceptors=0]="Interceptors",Se[Se.LegacyInterceptors=1]="LegacyInterceptors",Se[Se.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Se[Se.NoXsrfProtection=3]="NoXsrfProtection",Se[Se.JsonpSupport=4]="JsonpSupport",Se[Se.RequestsMadeViaParent=5]="RequestsMadeViaParent",Se))();function zt(qe,ie){return{\u0275kind:qe,\u0275providers:ie}}function Pn(...qe){const ie=[hn,oe,Re,{provide:pe,useExisting:Re},{provide:ke,useExisting:oe},{provide:ze,useValue:Ot,multi:!0},{provide:Ne,useValue:!0},{provide:Ht,useClass:Pt}];for(const ye of qe)ie.push(...ye.\u0275providers);return(0,L.MR2)(ie)}const Dt=new L.OlP("LEGACY_INTERCEPTOR_FN");let qn=(()=>{class qe{}return qe.\u0275fac=function(ye){return new(ye||qe)},qe.\u0275mod=L.oAB({type:qe}),qe.\u0275inj=L.cJS({providers:[Pn(zt(Se.LegacyInterceptors,[{provide:Dt,useFactory:fe},{provide:ze,useExisting:Dt,multi:!0}]))]}),qe})()},1571:(kt,$e,V)=>{"use strict";V.d($e,{QbO:()=>bD,tb:()=>ev,AFp:()=>$_,ip1:()=>j_,CZH:()=>Jf,hGG:()=>s1,z2F:()=>Qf,sBO:()=>GD,Sil:()=>TD,_Vd:()=>Vn,EJc:()=>ED,Xts:()=>qu,SBq:()=>Gn,lqb:()=>hl,qLn:()=>Si,vpe:()=>bl,XFs:()=>Je,OlP:()=>vr,zs3:()=>Qu,ZZ4:()=>Np,aQg:()=>Op,soG:()=>Zf,YKP:()=>Gm,h0i:()=>id,PXZ:()=>BD,R0b:()=>ya,FiY:()=>Jo,Lbi:()=>yD,g9A:()=>z_,Qsj:()=>Wn,FYo:()=>xr,JOm:()=>xo,q3G:()=>ln,tp0:()=>Il,Rgc:()=>Zd,dDg:()=>xD,eoX:()=>Q_,GfV:()=>Fr,s_b:()=>Yf,ifc:()=>he,LMc:()=>u1,MMx:()=>np,Lck:()=>Db,eFA:()=>nv,G48:()=>$D,Gpc:()=>tt,f3M:()=>nt,$WT:()=>rt,MR2:()=>Dn,_c5:()=>o1,c2e:()=>DD,zSh:()=>gu,wAp:()=>En,vHH:()=>me,lri:()=>J_,rWj:()=>Z_,JZr:()=>Mt,EiD:()=>yt,mCW:()=>Wu,qzn:()=>ga,JVY:()=>Oc,pB0:()=>Pc,eBb:()=>Ic,L6k:()=>Ac,LAX:()=>Rc,D6c:()=>a1,cg1:()=>Yh,kL8:()=>pm,dqk:()=>zt,Z0I:()=>Xt,eJc:()=>fp,CqO:()=>wg,QGY:()=>Ih,F4k:()=>Dg,RDi:()=>jl,AaK:()=>xe,z3N:()=>pa,zW0:()=>og,qOj:()=>Eh,TTD:()=>ji,_Bn:()=>$m,jDz:()=>Wm,xp6:()=>Ld,uIk:()=>Sh,Tol:()=>$g,Gre:()=>rm,MT6:()=>im,ekj:()=>Hh,Suo:()=>y_,Xpm:()=>Kn,lG2:()=>K,Yz7:()=>gt,cJS:()=>jt,oAB:()=>ci,Yjl:()=>B,Y36:()=>Gc,_UZ:()=>Oh,GkF:()=>Ah,BQk:()=>Lf,ynx:()=>kf,qZA:()=>Ff,TgZ:()=>xf,EpF:()=>bg,n5z:()=>Io,Ikx:()=>zh,SDv:()=>Hm,QtT:()=>Um,pQV:()=>Jh,LFG:()=>ie,$8M:()=>Nl,$Z:()=>jp,NdJ:()=>Rh,CRH:()=>b_,kcU:()=>Ta,O4$:()=>Ns,oxw:()=>Mg,ALo:()=>l_,lcZ:()=>u_,xi3:()=>c_,Dn7:()=>d_,Hsn:()=>Og,F$t:()=>Ng,Q6J:()=>Mh,s9C:()=>Ph,MGl:()=>Bf,hYB:()=>xh,cQ8:()=>Fh,DdM:()=>Xm,VKq:()=>e_,WLB:()=>t_,kEZ:()=>n_,iGM:()=>__,MAs:()=>yg,KtG:()=>Jr,evT:()=>pl,Jf7:()=>Ju,CHM:()=>Qn,oJD:()=>_r,uOi:()=>_a,LSH:()=>li,P3R:()=>vs,Udp:()=>Vh,d8E:()=>Wh,YNc:()=>vg,W1O:()=>C_,_uU:()=>Jg,Oqu:()=>jh,hij:()=>Uf,AsE:()=>$h,lnq:()=>Gh,Gf:()=>v_});var r=V(7579),L=V(727),se=V(9751),de=V(6451),ve=V(8421),Oe=V(930),Pe=V(4482);function ke(e,t,...n){if(!0===t)return void e();if(!1===t)return;const s=new Oe.Hp({next:()=>{s.unsubscribe(),e()}});return(0,ve.Xf)(t(...n)).subscribe(s)}function ae(e){for(let t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}function we(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(xe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function vt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ue=ae({__forward_ref__:ae});function tt(e){return e.__forward_ref__=tt,e.toString=function(){return xe(this())},e}function Ae(e){return lt(e)?e():e}function lt(e){return"function"==typeof e&&e.hasOwnProperty(Ue)&&e.__forward_ref__===tt}function Xe(e){return e&&!!e.\u0275providers}const Mt="https://g.co/ng/security#xss";class me extends Error{constructor(t,n){super(ce(t,n)),this.code=t}}function ce(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function At(e,t){throw new me(-201,!1)}function Ge(e,t,n,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${n} ${s} ${t} <=Actual]`))}function gt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function jt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Cn(e){return Me(e,Ne)||Me(e,Ke)}function Xt(e){return null!==Cn(e)}function Me(e,t){return e.hasOwnProperty(t)?e[t]:null}function oe(e){return e&&(e.hasOwnProperty(Ce)||e.hasOwnProperty(wt))?e[Ce]:null}const Ne=ae({\u0275prov:ae}),Ce=ae({\u0275inj:ae}),Ke=ae({ngInjectableDef:ae}),wt=ae({ngInjectorDef:ae});var Je=(()=>((Je=Je||{})[Je.Default=0]="Default",Je[Je.Host=1]="Host",Je[Je.Self=2]="Self",Je[Je.SkipSelf=4]="SkipSelf",Je[Je.Optional=8]="Optional",Je))();let Ht;function Ot(e){const t=Ht;return Ht=e,t}function dt(e,t,n){const s=Cn(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:n&Je.Optional?null:void 0!==t?t:void At(xe(e))}const zt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ft={},Sn="__NG_DI_FLAG__",un="ngTempTokenPath",Xn="ngTokenPath",an=/\n/gm,or="\u0275",qn="__source";let Sr;function Hn(e){const t=Sr;return Sr=e,t}function qe(e,t=Je.Default){if(void 0===Sr)throw new me(-203,!1);return null===Sr?dt(e,void 0,t):Sr.get(e,t&Je.Optional?null:void 0,t)}function ie(e,t=Je.Default){return(function Pt(){return Ht}()||qe)(Ae(e),t)}function nt(e,t=Je.Default){return ie(e,Ze(t))}function Ze(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Et(e){const t=[];for(let n=0;n((be=be||{})[be.OnPush=0]="OnPush",be[be.Default=1]="Default",be))(),he=(()=>{return(e=he||(he={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",he;var e})();const Y={},X=[],We=ae({\u0275cmp:ae}),It=ae({\u0275dir:ae}),xt=ae({\u0275pipe:ae}),en=ae({\u0275mod:ae}),on=ae({\u0275fac:ae}),er=ae({__NG_ELEMENT_ID__:ae});let pr=0;function Kn(e){return Mn(()=>{const t=Rn(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===be.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||he.Emulated,id:"c"+pr++,styles:e.styles||X,_:null,schemas:e.schemas||null,tView:null};wn(n);const s=e.dependencies;return n.directiveDefs=dr(s,!1),n.pipeDefs=dr(s,!0),n})}function Hr(e){return I(e)||H(e)}function ri(e){return null!==e}function ci(e){return Mn(()=>({type:e.type,bootstrap:e.bootstrap||X,declarations:e.declarations||X,imports:e.imports||X,exports:e.exports||X,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function qr(e,t){if(null==e)return Y;const n={};for(const s in e)if(e.hasOwnProperty(s)){let u=e[s],h=u;Array.isArray(u)&&(h=u[1],u=u[0]),n[u]=s,t&&(t[u]=h)}return n}function K(e){return Mn(()=>{const t=Rn(e);return wn(t),t})}function B(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function I(e){return e[We]||null}function H(e){return e[It]||null}function le(e){return e[xt]||null}function rt(e){const t=I(e)||H(e)||le(e);return null!==t&&t.standalone}function Bt(e,t){const n=e[en]||null;if(!n&&!0===t)throw new Error(`Type ${xe(e)} does not have '\u0275mod' property.`);return n}function Rn(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||X,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qr(e.inputs,t),outputs:qr(e.outputs)}}function wn(e){e.features?.forEach(t=>t(e))}function dr(e,t){if(!e)return null;const n=t?le:Hr;return()=>("function"==typeof e?e():e).map(s=>n(s)).filter(ri)}const yr=0,Ft=1,sn=2,xn=3,br=4,di=5,sr=6,Ni=7,Ln=8,Ar=9,Kr=10,_n=11,Vi=12,rs=13,is=14,bi=15,Ur=16,Co=17,os=18,Dr=19,ko=20,co=21,Jn=22,To=1,ho=2,Zn=7,eo=8,Hi=9,cr=10;function jr(e){return Array.isArray(e)&&"object"==typeof e[To]}function zn(e){return Array.isArray(e)&&!0===e[To]}function Oi(e){return 0!=(4&e.flags)}function Mr(e){return e.componentOffset>-1}function to(e){return 1==(1&e.flags)}function Di(e){return!!e.template}function Ai(e){return 0!=(256&e[sn])}function Pi(e,t){return e.hasOwnProperty(on)?e[on]:null}class ws{constructor(t,n,s){this.previousValue=t,this.currentValue=n,this.firstChange=s}isFirstChange(){return this.firstChange}}function ji(){return go}function go(e){return e.type.prototype.ngOnChanges&&(e.setInput=wl),ro}function ro(){const e=ba(this),t=e?.current;if(t){const n=e.previous;if(n===Y)e.previous=t;else for(let s in t)n[s]=t[s];e.current=null,this.ngOnChanges(t)}}function wl(e,t,n,s){const u=this.declaredInputs[n],h=ba(e)||function Da(e,t){return e[Uo]=t}(e,{previous:Y,current:null}),_=h.current||(h.current={}),w=h.previous,T=w[u];_[u]=new ws(T&&T.currentValue,t,w===Y),e[s]=t}ji.ngInherit=!0;const Uo="__ngSimpleChanges__";function ba(e){return e[Uo]||null}const Nr=function(e,t,n){},_o="svg";function jn(e){for(;Array.isArray(e);)e=e[yr];return e}function Un(e,t){return jn(t[e])}function Lr(e,t){return jn(t[e.index])}function Ao(e,t){return e.data[t]}function ii(e,t){return e[t]}function wr(e,t){const n=t[e];return jr(n)?n:n[yr]}function fi(e){return 64==(64&e[sn])}function Gi(e,t){return null==t?null:e[t]}function Es(e){e[os]=0}function Br(e,t){e[di]+=t;let n=e,s=e[xn];for(;null!==s&&(1===t&&1===n[di]||-1===t&&0===n[di]);)s[di]+=t,n=s,s=s[xn]}const dn={lFrame:fs(null),bindingsEnabled:!0};function A(){return dn.bindingsEnabled}function ne(){return dn.lFrame.lView}function ht(){return dn.lFrame.tView}function Qn(e){return dn.lFrame.contextLView=e,e[Ln]}function Jr(e){return dn.lFrame.contextLView=null,e}function gr(){let e=yo();for(;null!==e&&64===e.type;)e=e.parent;return e}function yo(){return dn.lFrame.currentTNode}function zi(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ir(e,t){const n=dn.lFrame;n.currentTNode=e,n.isParent=t}function mr(){return dn.lFrame.isParent}function io(){dn.lFrame.isParent=!1}function oi(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function si(){return dn.lFrame.bindingIndex}function bo(){return dn.lFrame.bindingIndex++}function Zr(e){const t=dn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function oo(e){dn.lFrame.inI18n=e}function Ks(e,t){const n=dn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Go(t)}function Go(e){dn.lFrame.currentDirectiveIndex=e}function Js(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function cs(){return dn.lFrame.currentQueryIndex}function ds(e){dn.lFrame.currentQueryIndex=e}function Zs(e){const t=e[Ft];return 2===t.type?t.declTNode:1===t.type?e[sr]:null}function Ss(e,t,n){if(n&Je.SkipSelf){let u=t,h=e;for(;!(u=u.parent,null!==u||n&Je.Host||(u=Zs(h),null===u||(h=h[bi],10&u.type))););if(null===u)return!1;t=u,e=h}const s=dn.lFrame=Qr();return s.currentTNode=t,s.lView=e,!0}function Wi(e){const t=Qr(),n=e[Ft];dn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Qr(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?fs(e):t}function fs(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function $a(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ms=$a;function Qs(){const e=$a();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Xr(){return dn.lFrame.selectedIndex}function Fi(e){dn.lFrame.selectedIndex=e}function fr(){const e=dn.lFrame;return Ao(e.tView,e.selectedIndex)}function Ns(){dn.lFrame.currentNamespace=_o}function Ta(){!function El(){dn.lFrame.currentNamespace=null}()}function k(e,t){for(let n=t.directiveStart,s=t.directiveEnd;n=s)break}else t[T]<0&&(e[os]+=65536),(w>11>16&&(3&e[sn])===t){e[sn]+=2048,Nr(4,w,h);try{h.call(w)}finally{Nr(5,w,h)}}}else{Nr(4,w,h);try{h.call(w)}finally{Nr(5,w,h)}}}const Yt=-1;class yn{constructor(t,n,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=s}}function wo(e,t,n){let s=0;for(;st){_=h-1;break}}}for(;h>16}(e),s=t;for(;n>0;)s=s[bi],n--;return s}let ps=!0;function Wo(e){const t=ps;return ps=e,t}const Nn=255,nr=5;let ea=0;const ai={};function Sa(e,t){const n=Rr(e,t);if(-1!==n)return n;const s=t[Ft];s.firstCreatePass&&(e.injectorIndex=t.length,Cl(s.data,e),Cl(t,null),Cl(s.blueprint,null));const u=Tl(e,t),h=e.injectorIndex;if(hs(u)){const _=zo(u),w=Xs(u,t),T=w[Ft].data;for(let F=0;F<8;F++)t[h+F]=w[_+F]|T[_+F]}return t[h+8]=u,h}function Cl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Rr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Tl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,s=null,u=t;for(;null!==u;){if(s=bu(u),null===s)return Yt;if(n++,u=u[bi],-1!==s.injectorIndex)return s.injectorIndex|n<<16}return Yt}function gs(e,t,n){!function ta(e,t,n){let s;"string"==typeof n?s=n.charCodeAt(0)||0:n.hasOwnProperty(er)&&(s=n[er]),null==s&&(s=n[er]=ea++);const u=s&Nn;t.data[e+(u>>nr)]|=1<=0?t&Nn:Ma:t}(n);if("function"==typeof h){if(!Ss(t,e,s))return s&Je.Host?Sl(u,0,s):tu(t,n,s,u);try{const _=h(s);if(null!=_||s&Je.Optional)return _;At()}finally{Ms()}}else if("number"==typeof h){let _=null,w=Rr(e,t),T=Yt,F=s&Je.Host?t[Ur][sr]:null;for((-1===w||s&Je.SkipSelf)&&(T=-1===w?Tl(e,t):t[w+8],T!==Yt&&rr(s,!1)?(_=t[Ft],w=zo(T),t=Xs(T,t)):w=-1);-1!==w;){const z=t[Ft];if(_s(h,w,z.data)){const ee=zr(w,t,n,_,s,F);if(ee!==ai)return ee}T=t[w+8],T!==Yt&&rr(s,t[Ft].data[w+8]===F)&&_s(h,w,t)?(_=z,w=zo(T),t=Xs(T,t)):w=-1}}return u}function zr(e,t,n,s,u,h){const _=t[Ft],w=_.data[e+8],z=na(w,_,n,null==s?Mr(w)&&ps:s!=_&&0!=(3&w.type),u&Je.Host&&h===w);return null!==z?ms(t,_,z,w):ai}function na(e,t,n,s,u){const h=e.providerIndexes,_=t.data,w=1048575&h,T=e.directiveStart,z=h>>20,Ee=u?w+z:e.directiveEnd;for(let Ve=s?w:w+z;Ve=T&&ot.type===n)return Ve}if(u){const Ve=_[T];if(Ve&&Di(Ve)&&Ve.type===n)return T}return null}function ms(e,t,n,s){let u=e[n];const h=t.data;if(function tr(e){return e instanceof yn}(u)){const _=u;_.resolving&&function _t(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new me(-200,`Circular dependency in DI detected for ${e}${n}`)}(function mt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}(h[n]));const w=Wo(_.canSeeViewProviders);_.resolving=!0;const T=_.injectImpl?Ot(_.injectImpl):null;Ss(e,s,Je.Default);try{u=e[n]=_.factory(void 0,h,e,s),t.firstCreatePass&&n>=s.directiveStart&&function C(e,t,n){const{ngOnChanges:s,ngOnInit:u,ngDoCheck:h}=t.type.prototype;if(s){const _=go(t);(n.preOrderHooks??(n.preOrderHooks=[])).push(e,_),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,_)}u&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-e,u),h&&((n.preOrderHooks??(n.preOrderHooks=[])).push(e,h),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(e,h))}(n,h[n],t)}finally{null!==T&&Ot(T),Wo(w),_.resolving=!1,Ms()}}return u}function _s(e,t,n){return!!(n[t+(e>>nr)]&1<{const t=e.prototype.constructor,n=t[on]||ra(t),s=Object.prototype;let u=Object.getPrototypeOf(e.prototype).constructor;for(;u&&u!==s;){const h=u[on]||ra(u);if(h&&h!==n)return h;u=Object.getPrototypeOf(u)}return h=>new h})}function ra(e){return lt(e)?()=>{const t=ra(Ae(e));return t&&t()}:Pi(e)}function bu(e){const t=e[Ft],n=t.type;return 2===n?t.declTNode:1===n?e[sr]:null}function Nl(e){return function eu(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const s=n.length;let u=0;for(;u{const s=function Ol(e){return function(...n){if(e){const s=e(...n);for(const u in s)this[u]=s[u]}}}(t);function u(...h){if(this instanceof u)return s.apply(this,h),this;const _=new u(...h);return w.annotation=_,w;function w(T,F,z){const ee=T.hasOwnProperty(Os)?T[Os]:Object.defineProperty(T,Os,{value:[]})[Os];for(;ee.length<=z;)ee.push(null);return(ee[z]=ee[z]||[]).push(_),T}}return n&&(u.prototype=Object.create(n.prototype)),u.prototype.ngMetadataName=e,u.annotationCls=u,u})}class vr{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=gt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function aa(e,t){e.forEach(n=>Array.isArray(n)?aa(n,t):t(n))}function v(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function b(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function g(e,t){const n=[];for(let s=0;s=0?e[1|s]=n:(s=~s,function U(e,t,n,s){let u=e.length;if(u==t)e.push(n,s);else if(1===u)e.push(s,e[0]),e[0]=n;else{for(u--,e.push(e[u-1],e[u]);u>t;)e[u]=e[u-2],u--;e[t]=n,e[t+1]=s}}(e,s,t,n)),s}function Qe(e,t){const n=Rt(e,t);if(n>=0)return e[1|n]}function Rt(e,t){return function Fn(e,t,n){let s=0,u=e.length>>n;for(;u!==s;){const h=s+(u-s>>1),_=e[h<t?u=h:s=h+1}return~(u<((xo=xo||{})[xo.Important=1]="Important",xo[xo.DashCase=2]="DashCase",xo))();const uu=/^>|^->||--!>|)/,tf="\u200b$1\u200b";const hc=new Map;let nh=0;const xu="__ngContext__";function Li(e,t){jr(t)?(e[xu]=t[ko],function Pu(e){hc.set(e[ko],e)}(t)):e[xu]=t}let Ra;function Ll(e,t){return Ra(e,t)}function Bl(e){const t=e[xn];return zn(t)?t[xn]:t}function Fs(e){return ol(e[rs])}function il(e){return ol(e[br])}function ol(e){for(;null!==e&&!zn(e);)e=e[br];return e}function ua(e,t,n,s,u){if(null!=s){let h,_=!1;zn(s)?h=s:jr(s)&&(_=!0,s=s[yr]);const w=jn(s);0===e&&null!==n?null==u?bc(t,n,w):ll(t,n,w,u||null,!0):1===e&&null!==n?ll(t,n,w,u||null,!0):2===e?fa(t,w,_):3===e&&t.destroyNode(w),null!=h&&function Dd(e,t,n,s,u){const h=n[Zn];h!==jn(n)&&ua(t,e,s,h,u);for(let w=cr;wt.replace(cu,tf))}(t))}function ca(e,t,n){return e.createElement(t,n)}function Vl(e,t){const n=e[Hi],s=n.indexOf(t),u=t[xn];512&t[sn]&&(t[sn]&=-513,Br(u,-1)),n.splice(s,1)}function Bu(e,t){if(e.length<=cr)return;const n=cr+t,s=e[n];if(s){const u=s[Co];null!==u&&u!==e&&Vl(u,s),t>0&&(e[n-1][br]=s[br]);const h=b(e,cr+t);!function al(e,t){ul(e,t,t[_n],2,null,null),t[yr]=null,t[sr]=null}(s[Ft],s);const _=h[Dr];null!==_&&_.detachView(h[Ft]),s[xn]=null,s[br]=null,s[sn]&=-65}return s}function cf(e,t){if(!(128&t[sn])){const n=t[_n];n.destroyNode&&ul(e,t,n,3,null,null),function vc(e){let t=e[rs];if(!t)return yc(e[Ft],e);for(;t;){let n=null;if(jr(t))n=t[rs];else{const s=t[cr];s&&(n=s)}if(!n){for(;t&&!t[br]&&t!==e;)jr(t)&&yc(t[Ft],t),t=t[xn];null===t&&(t=e),jr(t)&&yc(t[Ft],t),n=t&&t[br]}t=n}}(t)}}function yc(e,t){if(!(128&t[sn])){t[sn]&=-65,t[sn]|=128,function ff(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s=0?s[u=_]():s[u=-_].unsubscribe(),h+=2}else{const _=s[u=n[h+1]];n[h].call(_)}if(null!==s){for(let h=u+1;h-1){const{encapsulation:h}=e.data[s.directiveStart+u];if(h===he.None||h===he.Emulated)return null}return Lr(s,n)}}function ll(e,t,n,s,u){e.insertBefore(t,n,s,u)}function bc(e,t,n){e.appendChild(t,n)}function _d(e,t,n,s,u){null!==s?ll(e,t,n,s,u):bc(e,t,n)}function Vu(e,t){return e.parentNode(t)}function vd(e,t,n){return Hu(e,t,n)}function yd(e,t,n){return 40&e.type?Lr(e,n):null}let Uu,Ls,fu,$l,Hu=yd;function wc(e,t){Hu=e,Uu=t}function Hl(e,t,n,s){const u=gd(e,s,t),h=t[_n],w=vd(s.parent||t[sr],s,t);if(null!=u)if(Array.isArray(n))for(let T=0;Te,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ls}()?.createHTML(e)||e}function jl(e){fu=e}function Mc(){return void 0!==fu?fu:typeof document<"u"?document:void 0}function Gl(){if(void 0===$l&&($l=null,zt.trustedTypes))try{$l=zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return $l}function cl(e){return Gl()?.createHTML(e)||e}function zl(e){return Gl()?.createScriptURL(e)||e}class ka{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Mt})`}}class Cd extends ka{getTypeName(){return"HTML"}}class Td extends ka{getTypeName(){return"Style"}}class Nc extends ka{getTypeName(){return"Script"}}class dl extends ka{getTypeName(){return"URL"}}class Gu extends ka{getTypeName(){return"ResourceURL"}}function pa(e){return e instanceof ka?e.changingThisBreaksApplicationSecurity:e}function ga(e,t){const n=function Sd(e){return e instanceof ka&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Mt})`)}return n===t}function Oc(e){return new Cd(e)}function Ac(e){return new Td(e)}function Ic(e){return new Nc(e)}function Rc(e){return new dl(e)}function Pc(e){return new Gu(e)}function hu(e){const t=new zu(e);return function gf(){try{return!!(new window.DOMParser).parseFromString(Zo(""),"text/html")}catch{return!1}}()?new pu(t):t}class pu{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Zo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class zu{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Zo(t),n}}const Md=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wu(e){return(e=String(e)).match(Md)?e:"unsafe:"+e}function ma(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Wl(...e){const t={};for(const n of e)for(const s in n)n.hasOwnProperty(s)&&(t[s]=!0);return t}const xc=ma("area,br,col,hr,img,wbr"),Yu=ma("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fc=ma("rp,rt"),f=Wl(xc,Wl(Yu,ma("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Wl(Fc,ma("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Wl(Fc,Yu)),m=ma("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),x=Wl(m,ma("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ma("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),G=ma("script,style,template");class Q{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,s=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?s=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,s&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let u=this.checkClobberedElement(n,n.nextSibling);if(u){n=u;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!f.hasOwnProperty(n))return this.sanitizedSomething=!0,!G.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const s=t.attributes;for(let u=0;u"),!0}endElement(t){const n=t.nodeName.toLowerCase();f.hasOwnProperty(n)&&!xc.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(ct(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const ge=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Le=/([^\#-~ |!])/g;function ct(e){return e.replace(/&/g,"&").replace(ge,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Le,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let St;function yt(e,t){let n=null;try{St=St||hu(e);let s=t?String(t):"";n=St.getInertBodyElement(s);let u=5,h=s;do{if(0===u)throw new Error("Failed to sanitize html because the input is unstable");u--,s=h,h=n.innerHTML,n=St.getInertBodyElement(s)}while(s!==h);return Zo((new Q).sanitizeChildren(Nt(n)||n))}finally{if(n){const s=Nt(n)||n;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function Nt(e){return"content"in e&&function On(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ln=(()=>((ln=ln||{})[ln.NONE=0]="NONE",ln[ln.HTML=1]="HTML",ln[ln.STYLE=2]="STYLE",ln[ln.SCRIPT=3]="SCRIPT",ln[ln.URL=4]="URL",ln[ln.RESOURCE_URL=5]="RESOURCE_URL",ln))();function _r(e){const t=ys();return t?cl(t.sanitize(ln.HTML,e)||""):ga(e,"HTML")?cl(pa(e)):yt(Mc(),Ie(e))}function li(e){const t=ys();return t?t.sanitize(ln.URL,e)||"":ga(e,"URL")?pa(e):Wu(Ie(e))}function _a(e){const t=ys();if(t)return zl(t.sanitize(ln.RESOURCE_URL,e)||"");if(ga(e,"ResourceURL"))return zl(pa(e));throw new me(904,!1)}function vs(e,t,n){return function Vs(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?_a:li}(t,n)(e)}function ys(){const e=ne();return e&&e[Vi]}const qu=new vr("ENVIRONMENT_INITIALIZER"),kc=new vr("INJECTOR",-1),nn=new vr("INJECTOR_DEF_TYPES");class cn{get(t,n=ft){if(n===ft){const s=new Error(`NullInjectorError: No provider for ${xe(t)}!`);throw s.name="NullInjectorError",s}return n}}function Dn(e){return{\u0275providers:e}}function lr(...e){return{\u0275providers:mi(0,e),\u0275fromNgModule:!0}}function mi(e,...t){const n=[],s=new Set;let u;return aa(t,h=>{const _=h;Qi(_,n,[],s)&&(u||(u=[]),u.push(_))}),void 0!==u&&bs(u,n),n}function bs(e,t){for(let n=0;n{t.push(h)})}}function Qi(e,t,n,s){if(!(e=Ae(e)))return!1;let u=null,h=oe(e);const _=!h&&I(e);if(h||_){if(_&&!_.standalone)return!1;u=e}else{const T=e.ngModule;if(h=oe(T),!h)return!1;u=T}const w=s.has(u);if(_){if(w)return!1;if(s.add(u),_.dependencies){const T="function"==typeof _.dependencies?_.dependencies():_.dependencies;for(const F of T)Qi(F,t,n,s)}}else{if(!h)return!1;{if(null!=h.imports&&!w){let F;s.add(u);try{aa(h.imports,z=>{Qi(z,t,n,s)&&(F||(F=[]),F.push(z))})}finally{}void 0!==F&&bs(F,t)}if(!w){const F=Pi(u)||(()=>new u);t.push({provide:u,useFactory:F,deps:X},{provide:nn,useValue:u,multi:!0},{provide:qu,useValue:()=>ie(u),multi:!0})}const T=h.providers;null==T||w||Pr(T,z=>{t.push(z)})}}return u!==e&&void 0!==e.providers}function Pr(e,t){for(let n of e)Xe(n)&&(n=n.\u0275providers),Array.isArray(n)?Pr(n,t):t(n)}const Od=ae({provide:String,useValue:ae});function Lc(e){return null!==e&&"object"==typeof e&&Od in e}function Ti(e){return"function"==typeof e}const gu=new vr("Set Injector scope."),Ad={},Ap={};let mf;function Id(){return void 0===mf&&(mf=new cn),mf}class hl{}class _f extends hl{get destroyed(){return this._destroyed}constructor(t,n,s,u){super(),this.parent=n,this.source=s,this.scopes=u,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ue(t,_=>this.processProvider(_)),this.records.set(kc,d(void 0,this)),u.has("environment")&&this.records.set(hl,d(void 0,this));const h=this.records.get(gu);null!=h&&"string"==typeof h.value&&this.scopes.add(h.value),this.injectorDefTypes=new Set(this.get(nn.multi,X,Je.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Hn(this),s=Ot(void 0);try{return t()}finally{Hn(n),Ot(s)}}get(t,n=ft,s=Je.Default){this.assertNotDestroyed(),s=Ze(s);const u=Hn(this),h=Ot(void 0);try{if(!(s&Je.SkipSelf)){let w=this.records.get(t);if(void 0===w){const T=function Z(e){return"function"==typeof e||"object"==typeof e&&e instanceof vr}(t)&&Cn(t);w=T&&this.injectableDefInScope(T)?d(Rd(t),Ad):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&Je.Self?Id():this.parent).get(t,n=s&Je.Optional&&n===ft?null:n)}catch(_){if("NullInjectorError"===_.name){if((_[un]=_[un]||[]).unshift(xe(t)),u)throw _;return function rn(e,t,n,s){const u=e[un];throw t[qn]&&u.unshift(t[qn]),e.message=function vn(e,t,n,s=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==or?e.slice(2):e;let u=xe(t);if(Array.isArray(t))u=t.map(xe).join(" -> ");else if("object"==typeof t){let h=[];for(let _ in t)if(t.hasOwnProperty(_)){let w=t[_];h.push(_+":"+("string"==typeof w?JSON.stringify(w):xe(w)))}u=`{${h.join(", ")}}`}return`${n}${s?"("+s+")":""}[${u}]: ${e.replace(an,"\n ")}`}("\n"+e.message,u,n,s),e[Xn]=u,e[un]=null,e}(_,t,"R3InjectorError",this.source)}throw _}finally{Ot(h),Hn(u)}}resolveInjectorInitializers(){const t=Hn(this),n=Ot(void 0);try{const s=this.get(qu.multi,X,Je.Self);for(const u of s)u()}finally{Hn(t),Ot(n)}}toString(){const t=[],n=this.records;for(const s of n.keys())t.push(xe(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(t){let n=Ti(t=Ae(t))?t:Ae(t&&t.provide);const s=function p(e){return Lc(e)?d(void 0,e.useValue):d(i(e),Ad)}(t);if(Ti(t)||!0!==t.multi)this.records.get(n);else{let u=this.records.get(n);u||(u=d(void 0,Ad,!0),u.factory=()=>Et(u.multi),this.records.set(n,u)),n=t,u.multi.push(t)}this.records.set(n,s)}hydrate(t,n){return n.value===Ad&&(n.value=Ap,n.value=n.factory()),"object"==typeof n.value&&n.value&&function O(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Ae(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Rd(e){const t=Cn(e),n=null!==t?t.factory:Pi(e);if(null!==n)return n;if(e instanceof vr)throw new me(204,!1);if(e instanceof Function)return function a(e){const t=e.length;if(t>0)throw g(t,"?"),new me(204,!1);const n=function J(e){return e&&(e[Ne]||e[Ke])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new me(204,!1)}function i(e,t,n){let s;if(Ti(e)){const u=Ae(e);return Pi(u)||Rd(u)}if(Lc(e))s=()=>Ae(e.useValue);else if(function La(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...Et(e.deps||[]));else if(function _i(e){return!(!e||!e.useExisting)}(e))s=()=>ie(Ae(e.useExisting));else{const u=Ae(e&&(e.useClass||e.provide));if(!function y(e){return!!e.deps}(e))return Pi(u)||Rd(u);s=()=>new u(...Et(e.deps))}return s}function d(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ue(e,t){for(const n of e)Array.isArray(n)?ue(n,t):n&&Xe(n)?ue(n.\u0275providers,t):t(n)}class _e{}class Be{}class Ut{resolveComponentFactory(t){throw function Ye(e){const t=Error(`No component factory found for ${xe(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Vn=(()=>{class e{}return e.NULL=new Ut,e})();function gn(){return Tn(gr(),ne())}function Tn(e,t){return new Gn(Lr(e,t))}let Gn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=gn,e})();function ir(e){return e instanceof Gn?e.nativeElement:e}class xr{}let Wn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function ur(){const e=ne(),n=wr(gr().index,e);return(jr(n)?n:e)[_n]}(),e})(),hr=(()=>{class e{}return e.\u0275prov=gt({token:e,providedIn:"root",factory:()=>null}),e})();class Fr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const kr=new Fr("15.2.10"),vi={},ui="ngOriginalError";function Xo(e){return e[ui]}class Si{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Xo(t);for(;n&&Xo(n);)n=Xo(n);return n||null}}function Ju(e){return e.ownerDocument.defaultView}function pl(e){return e.ownerDocument}function ts(e){return e instanceof Function?e():e}function Uc(e,t,n){let s=e.length;for(;;){const u=e.indexOf(t,n);if(-1===u)return u;if(0===u||e.charCodeAt(u-1)<=32){const h=t.length;if(u+h===s||e.charCodeAt(u+h)<=32)return u}n=u+1}}const vf="ng-template";function Pd(e,t,n){let s=0,u=!0;for(;sh?"":u[ee+1].toLowerCase();const Ve=8&s?Ee:null;if(Ve&&-1!==Uc(Ve,F,0)||2&s&&F!==Ee){if(Us(s))return!1;_=!0}}}}else{if(!_&&!Us(s)&&!Us(T))return!1;if(_&&Us(T))continue;_=!1,s=T|1&s}}return Us(s)||_}function Us(e){return 0==(1&e)}function Df(e,t,n,s){if(null===t)return-1;let u=0;if(s||!n){let h=!1;for(;u-1)for(n++;n0?'="'+w+'"':"")+"]"}else 8&s?u+="."+_:4&s&&(u+=" "+_);else""!==u&&!Us(_)&&(t+=Fd(h,u),u=""),s=_,h=h||!Us(s);n++}return""!==u&&(t+=Fd(h,u)),t}const An={};function Ld(e){Bd(ht(),ne(),Xr()+e,!1)}function Bd(e,t,n,s){if(!s)if(3==(3&t[sn])){const h=e.preOrderCheckHooks;null!==h&&N(t,h,n)}else{const h=e.preOrderHooks;null!==h&&j(t,h,0,n)}Fi(n)}function xp(e,t=null,n=null,s){const u=Fp(e,t,n,s);return u.resolveInjectorInitializers(),u}function Fp(e,t=null,n=null,s,u=new Set){const h=[n||X,lr(e)];return s=s||("object"==typeof e?void 0:xe(e)),new _f(h,t||Id(),s||null,u)}let Qu=(()=>{class e{static create(n,s){if(Array.isArray(n))return xp({name:""},s,n,"");{const u=n.name??"";return xp({name:u},n.parent,n.providers,u)}}}return e.THROW_IF_NOT_FOUND=ft,e.NULL=new cn,e.\u0275prov=gt({token:e,providedIn:"any",factory:()=>ie(kc)}),e.__NG_ELEMENT_ID__=-1,e})();function Gc(e,t=Je.Default){const n=ne();return null===n?ie(e,t):rc(gr(),n,Ae(e),t)}function jp(){throw new Error("invalid")}function $p(e,t){const n=e.contentQueries;if(null!==n)for(let s=0;sJn&&Bd(e,t,Jn,!1),Nr(_?2:0,u),n(s,u)}finally{Fi(h),Nr(_?3:1,u)}}function hh(e,t,n){if(Oi(t)){const u=t.directiveEnd;for(let h=t.directiveStart;h0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(_)!=w&&_.push(w),_.push(n,s,h)}}(e,t,s,Vd(e,n,u.hostVars,An),u)}function yh(e,t,n,s,u,h,_){if(null==h)e.removeAttribute(t,u,n);else{const w=null==_?Ie(h):_(h,s||"",u);e.setAttribute(t,u,w,n)}}function ry(e,t,n,s,u,h){const _=h[t];if(null!==_){const w=s.setInput;for(let T=0;T<_.length;){const F=_[T++],z=_[T++],ee=_[T++];null!==w?s.setInput(n,ee,F,z):n[z]=ee}}}function iy(e,t,n){let s=null,u=0;for(;u0&&bh(n)}}function bh(e){for(let s=Fs(e);null!==s;s=il(s))for(let u=cr;u0&&bh(h)}const n=e[Ft].components;if(null!==n)for(let s=0;s0&&bh(u)}}function ly(e,t){const n=wr(t,e),s=n[Ft];(function uy(e,t){for(let n=t.length;n-1&&(Bu(t,s),b(n,s))}this._attachedToViewContainer=!1}cf(this._lView[Ft],this._lView)}onDestroy(t){Wp(this._lView[Ft],this._lView,null,t)}markForCheck(){Nf(this._cdRefInjectingView||this._lView)}detach(){this._lView[sn]&=-65}reattach(){this._lView[sn]|=64}detectChanges(){Of(this._lView[Ft],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Lu(e,t){ul(e,t,t[_n],2,null,null)}(this._lView[Ft],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=t}}class cy extends Hd{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Of(t[Ft],t,t[Ln],!1)}checkNoChanges(){}get context(){return null}}class ng extends Vn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=I(t);return new Ud(n,this.ngModule)}}function rg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class fy{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,s){s=Ze(s);const u=this.injector.get(t,vi,s);return u!==vi||n===vi?u:this.parentInjector.get(t,n,s)}}class Ud extends Be{get inputs(){return rg(this.componentDef.inputs)}get outputs(){return rg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function kd(e){return e.map(wf).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,s,u){let h=(u=u||this.ngModule)instanceof hl?u:u?.injector;h&&null!==this.componentDef.getStandaloneInjector&&(h=this.componentDef.getStandaloneInjector(h)||h);const _=h?new fy(t,h):t,w=_.get(xr,null);if(null===w)throw new me(407,!1);const T=_.get(hr,null),F=w.createRenderer(null,this.componentDef),z=this.componentDef.selectors[0][0]||"div",ee=s?function Uv(e,t,n){return e.selectRootElement(t,n===he.ShadowDom)}(F,s,this.componentDef.encapsulation):ca(F,z,function dy(e){const t=e.toLowerCase();return"svg"===t?_o:"math"===t?"math":null}(z)),Ee=this.componentDef.onPush?288:272,Ve=mh(0,null,null,1,0,null,null,null,null,null),ot=Tf(null,Ve,null,Ee,null,null,w,F,T,_,null);let Ct,$t;Wi(ot);try{const Zt=this.componentDef;let mn,bt=null;Zt.findHostDirectiveDefs?(mn=[],bt=new Map,Zt.findHostDirectiveDefs(Zt,mn,bt),mn.push(Zt)):mn=[Zt];const kn=function py(e,t){const n=e[Ft],s=Jn;return e[s]=t,zc(n,s,2,"#host",null)}(ot,ee),ni=function gy(e,t,n,s,u,h,_,w){const T=u[Ft];!function my(e,t,n,s){for(const u of e)t.mergedAttrs=Ei(t.mergedAttrs,u.hostAttrs);null!==t.mergedAttrs&&(Af(t,t.mergedAttrs,!0),null!==n&&$u(s,n,t))}(s,e,t,_);const F=h.createRenderer(t,n),z=Tf(u,zp(n),null,n.onPush?32:16,u[e.index],e,h,F,w||null,null,null);return T.firstCreatePass&&vh(T,e,s.length-1),Mf(u,z),u[e.index]=z}(kn,ee,Zt,mn,ot,w,F);$t=Ao(Ve,Jn),ee&&function vy(e,t,n,s){if(s)wo(e,n,["ng-version",kr.full]);else{const{attrs:u,classes:h}=function Ef(e){const t=[],n=[];let s=1,u=2;for(;s0&&ju(e,n,h.join(" "))}}(F,Zt,ee,s),void 0!==n&&function yy(e,t,n){const s=e.projection=[];for(let u=0;u=0;s--){const u=e[s];u.hostVars=t+=u.hostVars,u.hostAttrs=Ei(u.hostAttrs,n=Ei(n,u.hostAttrs))}}(s)}function Ch(e){return e===Y?{}:e===X?[]:e}function wy(e,t){const n=e.viewQuery;e.viewQuery=n?(s,u)=>{t(s,u),n(s,u)}:t}function Ey(e,t){const n=e.contentQueries;e.contentQueries=n?(s,u,h)=>{t(s,u,h),n(s,u,h)}:t}function Cy(e,t){const n=e.hostBindings;e.hostBindings=n?(s,u)=>{t(s,u),n(s,u)}:t}function og(e){return t=>{t.findHostDirectiveDefs=sg,t.hostDirectives=(Array.isArray(e)?e:e()).map(n=>"function"==typeof n?{directive:Ae(n),inputs:Y,outputs:Y}:{directive:Ae(n.directive),inputs:ag(n.inputs),outputs:ag(n.outputs)})}}function sg(e,t,n){if(null!==e.hostDirectives)for(const s of e.hostDirectives){const u=H(s.directive);Ny(u.declaredInputs,s.inputs),sg(u,t,n),n.set(u,s),t.push(u)}}function ag(e){if(void 0===e||0===e.length)return Y;const t={};for(let n=0;n_(jn(kn[s.index])):s.index;let bt=null;if(!_&&w&&(bt=function Ly(e,t,n,s){const u=e.cleanup;if(null!=u)for(let h=0;hT?w[T]:null}"string"==typeof _&&(h+=2)}return null}(e,t,u,s.index)),null!==bt)(bt.__ngLastListenerFn__||bt).__ngNextListenerFn__=h,bt.__ngLastListenerFn__=h,Ee=!1;else{h=Sg(s,t,z,h,!1);const kn=n.listen($t,u,h);ee.push(h,kn),F&&F.push(u,mn,Zt,Zt+1)}}else h=Sg(s,t,z,h,!1);const Ve=s.outputs;let ot;if(Ee&&null!==Ve&&(ot=Ve[u])){const Ct=ot.length;if(Ct)for(let $t=0;$t-1?wr(e.index,t):t);let T=Tg(t,n,s,_),F=h.__ngNextListenerFn__;for(;F;)T=Tg(t,n,F,_)&&T,F=F.__ngNextListenerFn__;return u&&!1===T&&(_.preventDefault(),_.returnValue=!1),T}}function Mg(e=1){return function Ea(e){return(dn.lFrame.contextLView=function Ca(e,t){for(;e>0;)t=t[bi],e--;return t}(e,dn.lFrame.contextLView))[Ln]}(e)}function By(e,t){let n=null;const s=function oh(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let u=0;u>17&32767}function kh(e){return 2|e}function ec(e){return(131068&e)>>2}function Lh(e,t){return-131069&e|t<<2}function Bh(e){return 1|e}function kg(e,t,n,s,u){const h=e[n+1],_=null===t;let w=s?vu(h):ec(h),T=!1;for(;0!==w&&(!1===T||_);){const z=e[w+1];Gy(e[w],t)&&(T=!0,e[w+1]=s?Bh(z):kh(z)),w=s?vu(z):ec(z)}T&&(e[n+1]=s?kh(h):Bh(h))}function Gy(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Rt(e,t)>=0}const Xi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Lg(e){return e.substring(Xi.key,Xi.keyEnd)}function Bg(e,t){const n=Xi.textEnd;return n===t?-1:(t=Xi.keyEnd=function qy(e,t,n){for(;t32;)t++;return t}(e,Xi.key=t,n),td(e,t,n))}function td(e,t,n){for(;t=0;n=Bg(t,n))De(e,Lg(t),!0)}function Ba(e,t,n,s){const u=ne(),h=ht(),_=Zr(2);h.firstUpdatePass&&zg(h,e,_,s),t!==An&&Fo(u,_,t)&&Yg(h,h.data[Xr()],u,u[_n],e,u[_+1]=function s0(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=xe(pa(e)))),e}(t,n),s,_)}function Va(e,t,n,s){const u=ht(),h=Zr(2);u.firstUpdatePass&&zg(u,null,h,s);const _=ne();if(n!==An&&Fo(_,h,n)){const w=u.data[Xr()];if(Kg(w,s)&&!Gg(u,h)){let T=s?w.classesWithoutHost:w.stylesWithoutHost;null!==T&&(n=vt(T,n||"")),Nh(u,w,_,n,s)}else!function o0(e,t,n,s,u,h,_,w){u===An&&(u=X);let T=0,F=0,z=0=e.expandoStartIndex}function zg(e,t,n,s){const u=e.data;if(null===u[n+1]){const h=u[Xr()],_=Gg(e,n);Kg(h,s)&&null===t&&!_&&(t=!1),t=function Qy(e,t,n,s){const u=Js(e);let h=s?t.residualClasses:t.residualStyles;if(null===u)0===(s?t.classBindings:t.styleBindings)&&(n=$d(n=Uh(null,e,t,n,s),t.attrs,s),h=null);else{const _=t.directiveStylingLast;if(-1===_||e[_]!==u)if(n=Uh(u,e,t,n,s),null===h){let T=function Xy(e,t,n){const s=n?t.classBindings:t.styleBindings;if(0!==ec(s))return e[vu(s)]}(e,t,s);void 0!==T&&Array.isArray(T)&&(T=Uh(null,e,t,T[1],s),T=$d(T,t.attrs,s),function e0(e,t,n,s){e[vu(n?t.classBindings:t.styleBindings)]=s}(e,t,s,T))}else h=function t0(e,t,n){let s;const u=t.directiveEnd;for(let h=1+t.directiveStylingLast;h0)&&(F=!0)):z=n,u)if(0!==T){const Ee=vu(e[w+1]);e[s+1]=Vf(Ee,w),0!==Ee&&(e[Ee+1]=Lh(e[Ee+1],s)),e[w+1]=function Hy(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=Vf(w,0),0!==w&&(e[w+1]=Lh(e[w+1],s)),w=s;else e[s+1]=Vf(T,0),0===w?w=s:e[T+1]=Lh(e[T+1],s),T=s;F&&(e[s+1]=kh(e[s+1])),kg(e,z,s,!0),kg(e,z,s,!1),function $y(e,t,n,s,u){const h=u?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&Rt(h,t)>=0&&(n[s+1]=Bh(n[s+1]))}(t,z,e,s,h),_=Vf(w,T),h?t.classBindings=_:t.styleBindings=_}(u,h,t,n,_,s)}}function Uh(e,t,n,s,u){let h=null;const _=n.directiveEnd;let w=n.directiveStylingLast;for(-1===w?w=n.directiveStart:w++;w<_&&(h=t[w],s=$d(s,h.hostAttrs,u),h!==e);)w++;return null!==e&&(n.directiveStylingLast=w),s}function $d(e,t,n){const s=n?1:2;let u=-1;if(null!==t)for(let h=0;h0;){const T=e[u],F=Array.isArray(T),z=F?T[1]:T,ee=null===z;let Ee=n[u+1];Ee===An&&(Ee=ee?X:void 0);let Ve=ee?Qe(Ee,s):z===s?Ee:void 0;if(F&&!Hf(Ve)&&(Ve=Qe(T,s)),Hf(Ve)&&(w=Ve,_))return w;const ot=e[u+1];u=_?vu(ot):ec(ot)}if(null!==t){let T=h?t.residualClasses:t.residualStyles;null!=T&&(w=Qe(T,s))}return w}function Hf(e){return void 0!==e}function Kg(e,t){return 0!=(e.flags&(t?8:16))}function Jg(e,t=""){const n=ne(),s=ht(),u=e+Jn,h=s.firstCreatePass?zc(s,u,1,t,null):s.data[u],_=n[u]=sl(n[_n],t);Hl(s,n,_,h),Ir(h,!1)}function jh(e){return Uf("",e,""),jh}function Uf(e,t,n){const s=ne(),u=Yc(s,e,t,n);return u!==An&&Ql(s,Xr(),u),Uf}function $h(e,t,n,s,u){const h=ne(),_=qc(h,e,t,n,s,u);return _!==An&&Ql(h,Xr(),_),$h}function Gh(e,t,n,s,u,h,_){const w=ne(),T=Kc(w,e,t,n,s,u,h,_);return T!==An&&Ql(w,Xr(),T),Gh}function rm(e,t,n){Va(De,yl,Yc(ne(),e,t,n),!0)}function im(e,t,n,s,u){Va(De,yl,qc(ne(),e,t,n,s,u),!0)}function zh(e,t,n){const s=ne();return Fo(s,bo(),t)&&js(ht(),fr(),s,e,t,s[_n],n,!0),zh}function Wh(e,t,n){const s=ne();if(Fo(s,bo(),t)){const h=ht(),_=fr();js(h,_,s,e,t,function eg(e,t,n){return(null===e||Di(e))&&(n=function $i(e){for(;Array.isArray(e);){if("object"==typeof e[To])return e;e=e[yr]}return null}(n[t.index])),n[_n]}(Js(h.data),_,s),n,!0)}return Wh}const tc=void 0;var C0=["en",[["a","p"],["AM","PM"],tc],[["AM","PM"],tc,tc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],tc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],tc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",tc,"{1} 'at' {0}",tc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function E0(e){const n=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===s?1:5}];let nd={};function Yh(e){const t=function T0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gm(t);if(n)return n;const s=t.split("-")[0];if(n=gm(s),n)return n;if("en"===s)return C0;throw new me(701,!1)}function pm(e){return Yh(e)[En.PluralCase]}function gm(e){return e in nd||(nd[e]=zt.ng&&zt.ng.common&&zt.ng.common.locales&&zt.ng.common.locales[e]),nd[e]}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const S0=["zero","one","two","few","many"],rd="en-US",jf={marker:"element"},$f={marker:"ICU"};var yi=(()=>((yi=yi||{})[yi.SHIFT=2]="SHIFT",yi[yi.APPEND_EAGERLY=1]="APPEND_EAGERLY",yi[yi.COMMENT=2]="COMMENT",yi))();let mm=rd;function _m(e){(function Te(e,t){null==e&&Ge(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(mm=e.toLowerCase().replace(/_/g,"-"))}function vm(e,t,n){const s=t.insertBeforeIndex,u=Array.isArray(s)?s[0]:s;return null===u?yd(e,0,n):jn(n[u])}function ym(e,t,n,s,u){const h=t.insertBeforeIndex;if(Array.isArray(h)){let _=s,w=null;if(3&t.type||(w=_,_=u),null!==_&&-1===t.componentOffset)for(let T=1;T1)for(let n=e.length-2;n>=0;n--){const s=e[n];Dm(s)||A0(s,t)&&null===I0(s)&&R0(s,t.index)}}function Dm(e){return!(64&e.type)}function A0(e,t){return Dm(t)||e.index>t.index}function I0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function R0(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(wc(vm,ym),e.insertBeforeIndex=t)}function Gd(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function F0(e,t,n){const s=dh(e,n,64,null,null);return bm(t,s),s}function Gf(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function wm(e){return e>>>17}function Em(e){return(131070&e)>>>1}let zd=0,Wd=0;function Tm(e,t,n,s){const u=n[_n];let _,h=null;for(let w=0;w>>1,n),null,null,Ve,ot,null)}else switch(T){case $f:const F=t[++w],z=t[++w];null===n[z]&&Li(n[z]=_c(u,F),n);break;case jf:const ee=t[++w],Ee=t[++w];null===n[Ee]&&Li(n[Ee]=ca(u,ee,null),n)}}}function Sm(e,t,n,s,u){for(let h=0;h>>2;switch(3&z){case 1:const Ee=n[++F],Ve=n[++F],ot=e.data[ee];"string"==typeof ot?yh(t[_n],t[ee],null,ot,Ee,T,Ve):js(e,ot,t,Ee,T,t[_n],Ve,!1);break;case 0:const Ct=t[ee];null!==Ct&&mc(t[_n],Ct,T);break;case 2:H0(e,Gd(e,ee),t,T);break;case 3:Mm(e,Gd(e,ee),s,t)}}}}else{const T=n[h+1];if(T>0&&3==(3&T)){const z=Gd(e,T>>>2);t[z.currentCaseLViewIndex]<0&&Mm(e,z,s,t)}}h+=w}}function Mm(e,t,n,s){let u=s[t.currentCaseLViewIndex];if(null!==u){let h=zd;u<0&&(u=s[t.currentCaseLViewIndex]=~u,h=-1),Sm(e,s,t.update[u],n,h)}}function H0(e,t,n,s){const u=function U0(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const s=function M0(e,t){const n=pm(t)(parseInt(e,10)),s=S0[n];return void 0!==s?s:"other"}(t,function O0(){return mm}());n=e.cases.indexOf(s),-1===n&&"other"!==s&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,s);if(Gf(t,n)!==u&&(Nm(e,t,n),n[t.currentCaseLViewIndex]=null===u?null:~u,null!==u)){const _=n[t.anchorIdx];_&&Tm(e,t.create[u],n,_)}}function Nm(e,t,n){let s=Gf(t,n);if(null!==s){const u=t.remove[s];for(let h=0;h0){const w=Un(_,n);null!==w&&fa(n[_n],w)}else Nm(e,Gd(e,~_),n)}}}function j0(){const e=[];let n,s,t=-1;function h(w,T){t=0;const F=Gf(w,T);s=null!==F?w.remove[F]:X}function _(){if(t0?n[w]:(e.push(t,s),h(n[Ft].data[~w],n),_())}return 0===e.length?null:(s=e.pop(),t=e.pop(),_())}return function u(w,T){for(n=T;e.length;)e.pop();return h(w.value,T),_}}const zf=/\ufffd(\d+):?\d*\ufffd/gi,G0=/\ufffd(\d+)\ufffd/,Am=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Yd="\ufffd",z0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,W0=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Y0=/\uE500/g;function Im(e,t,n,s,u,h,_){const w=Vd(e,s,1,null);let T=w<n.length&&n.push(T)}return{type:s,mainBinding:u,cases:t,values:n}}function qh(e){if(!e)return[];let t=0;const n=[],s=[],u=/[{}]/g;let h;for(u.lastIndex=0;h=u.exec(e);){const w=h.index;if("}"==h[0]){if(n.pop(),0==n.length){const T=e.substring(t,w);Am.test(T)?s.push(tb(T)):s.push(T),t=w+1}}else{if(0==n.length){const T=e.substring(t,w);s.push(T),t=w+1}n.push("{")}}const _=e.substring(t);return s.push(_),s}function nb(e,t,n,s,u,h,_,w){const T=[],F=[],z=[];t.cases.push(h),t.create.push(T),t.remove.push(F),t.update.push(z);const Ee=hu(Mc()).getInertBodyElement(_),Ve=Nt(Ee)||Ee;return Ve?Fm(e,t,n,s,T,F,z,Ve,u,w,0):0}function Fm(e,t,n,s,u,h,_,w,T,F,z){let ee=0,Ee=w.firstChild;for(;Ee;){const Ve=Vd(e,n,1,null);switch(Ee.nodeType){case Node.ELEMENT_NODE:const ot=Ee,Ct=ot.tagName.toLowerCase();if(f.hasOwnProperty(Ct)){Kh(u,jf,Ct,T,Ve),e.data[Ve]=Ct;const bt=ot.attributes;for(let kn=0;kn>>yi.SHIFT;let ee=e[z];null===ee&&(ee=e[z]=(_&yi.COMMENT)===yi.COMMENT?u.createComment(w):sl(u,w)),F&&null!==n&&ll(u,n,ee,s,!1)}})(u,T.create,z,w&&8&w.type?u[w.index]:null),oo(!0)}function Hm(e,t,n){Bm(e,t,n),function Vm(){oo(!1)}()}function Jh(e){return function L0(e){e&&(zd|=1<0){const s=e.data[n];Sm(e,t,Array.isArray(s)?s:s.update,si()-Wd-1,zd)}zd=0,Wd=0}(ht(),ne(),e+Jn)}function Zh(e,t,n,s,u){if(e=Ae(e),Array.isArray(e))for(let h=0;h>20;if(Ti(e)||!e.multi){const Ve=new yn(T,u,Gc),ot=Xh(w,t,u?z:z+Ee,ee);-1===ot?(gs(Sa(F,_),h,w),Qh(h,e,t.length),t.push(w),F.directiveStart++,F.directiveEnd++,u&&(F.providerIndexes+=1048576),n.push(Ve),_.push(Ve)):(n[ot]=Ve,_[ot]=Ve)}else{const Ve=Xh(w,t,z+Ee,ee),ot=Xh(w,t,z,z+Ee),$t=ot>=0&&n[ot];if(u&&!$t||!u&&!(Ve>=0&&n[Ve])){gs(Sa(F,_),h,w);const Zt=function bb(e,t,n,s,u){const h=new yn(e,n,Gc);return h.multi=[],h.index=t,h.componentProviders=0,jm(h,u,s&&!n),h}(u?yb:vb,n.length,u,s,T);!u&&$t&&(n[ot].providerFactory=Zt),Qh(h,e,t.length,0),t.push(w),F.directiveStart++,F.directiveEnd++,u&&(F.providerIndexes+=1048576),n.push(Zt),_.push(Zt)}else Qh(h,e,Ve>-1?Ve:ot,jm(n[u?ot:Ve],T,!u&&s));!u&&s&&$t&&n[ot].componentProviders++}}}function Qh(e,t,n,s){const u=Ti(t),h=function Ku(e){return!!e.useClass}(t);if(u||h){const T=(h?Ae(t.useClass):t).prototype.ngOnDestroy;if(T){const F=e.destroyHooks||(e.destroyHooks=[]);if(!u&&t.multi){const z=F.indexOf(n);-1===z?F.push(n,[s,T]):F[z+1].push(s,T)}else F.push(n,T)}}}function jm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Xh(e,t,n,s){for(let u=n;u{n.providersResolver=(s,u)=>function _b(e,t,n){const s=ht();if(s.firstCreatePass){const u=Di(e);Zh(n,s.data,s.blueprint,u,!0),Zh(t,s.data,s.blueprint,u,!1)}}(s,u?u(e):e,t)}}class id{}class Gm{}function Db(e,t){return new zm(e,t??null)}class zm extends id{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ng(this);const s=Bt(t);this._bootstrapComponents=ts(s.bootstrap),this._r3Injector=Fp(t,n,[{provide:id,useValue:this},{provide:Vn,useValue:this.componentFactoryResolver}],xe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tp extends Gm{constructor(t){super(),this.moduleType=t}create(t){return new zm(this.moduleType,t)}}class wb extends id{constructor(t,n,s){super(),this.componentFactoryResolver=new ng(this),this.instance=null;const u=new _f([...t,{provide:id,useValue:this},{provide:Vn,useValue:this.componentFactoryResolver}],n||Id(),s,new Set(["environment"]));this.injector=u,u.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function np(e,t,n=null){return new wb(e,t,n).injector}let Eb=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const s=mi(0,n.type),u=s.length>0?np([s],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,u)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=gt({token:e,providedIn:"environment",factory:()=>new e(ie(hl))}),e})();function Wm(e){e.getStandaloneInjector=t=>t.get(Eb).getOrCreateStandaloneInjector(e)}function Xm(e,t,n){const s=oi()+e,u=ne();return u[s]===An?_l(u,s,n?t.call(n):t()):function jd(e,t){return e[t]}(u,s)}function e_(e,t,n,s){return r_(ne(),oi(),e,t,n,s)}function t_(e,t,n,s,u){return i_(ne(),oi(),e,t,n,s,u)}function n_(e,t,n,s,u,h){return o_(ne(),oi(),e,t,n,s,u,h)}function Kd(e,t){const n=e[t];return n===An?void 0:n}function r_(e,t,n,s,u,h){const _=t+n;return Fo(e,_,u)?_l(e,_+1,h?s.call(h,u):s(u)):Kd(e,_+1)}function i_(e,t,n,s,u,h,_){const w=t+n;return Xu(e,w,u,h)?_l(e,w+2,_?s.call(_,u,h):s(u,h)):Kd(e,w+2)}function o_(e,t,n,s,u,h,_,w){const T=t+n;return Pf(e,T,u,h,_)?_l(e,T+3,w?s.call(w,u,h,_):s(u,h,_)):Kd(e,T+3)}function l_(e,t){const n=ht();let s;const u=e+Jn;n.firstCreatePass?(s=function Bb(e,t){if(t)for(let n=t.length-1;n>=0;n--){const s=t[n];if(e===s.name)return s}}(t,n.pipeRegistry),n.data[u]=s,s.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(u,s.onDestroy)):s=n.data[u];const h=s.factory||(s.factory=Pi(s.type)),_=Ot(Gc);try{const w=Wo(!1),T=h();return Wo(w),function xy(e,t,n,s){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=s}(n,ne(),u,T),T}finally{Ot(_)}}function u_(e,t,n){const s=e+Jn,u=ne(),h=ii(u,s);return Jd(u,s)?r_(u,oi(),t,h.transform,n,h):h.transform(n)}function c_(e,t,n,s){const u=e+Jn,h=ne(),_=ii(h,u);return Jd(h,u)?i_(h,oi(),t,_.transform,n,s,_):_.transform(n,s)}function d_(e,t,n,s,u){const h=e+Jn,_=ne(),w=ii(_,h);return Jd(_,h)?o_(_,oi(),t,w.transform,n,s,u,w):w.transform(n,s,u)}function Jd(e,t){return e[Ft].data[t].pure}function ip(e){return t=>{setTimeout(e,void 0,t)}}const bl=class Ub extends r.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,s){let u=t,h=n||(()=>null),_=s;if(t&&"object"==typeof t){const T=t;u=T.next?.bind(T),h=T.error?.bind(T),_=T.complete?.bind(T)}this.__isAsync&&(h=ip(h),u&&(u=ip(u)),_&&(_=ip(_)));const w=super.subscribe({next:u,error:h,complete:_});return t instanceof L.w0&&t.add(w),w}};function jb(){return this._results[Symbol.iterator]()}class op{get changes(){return this._changes||(this._changes=new bl)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=op.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=jb)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const s=this;s.dirty=!1;const u=function Ki(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function iu(e,t,n){if(e.length!==t.length)return!1;for(let s=0;s{class e{}return e.__NG_ELEMENT_ID__=zb,e})();const $b=Zd,Gb=class extends $b{constructor(t,n,s){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=s}createEmbeddedView(t,n){const s=this._declarationTContainer.tView,u=Tf(this._declarationLView,s,t,16,null,s.declTNode,null,null,null,null,n||null);u[Co]=this._declarationLView[this._declarationTContainer.index];const _=this._declarationLView[Dr];return null!==_&&(u[Dr]=_.createEmbeddedView(s)),fh(s,u,t),new Hd(u)}};function zb(){return Wf(gr(),ne())}function Wf(e,t){return 4&e.type?new Gb(t,e,Tn(e,t)):null}let Yf=(()=>{class e{}return e.__NG_ELEMENT_ID__=Wb,e})();function Wb(){return p_(gr(),ne())}const Yb=Yf,f_=class extends Yb{constructor(t,n,s){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=s}get element(){return Tn(this._hostTNode,this._hostLView)}get injector(){return new Wa(this._hostTNode,this._hostLView)}get parentInjector(){const t=Tl(this._hostTNode,this._hostLView);if(hs(t)){const n=Xs(t,this._hostLView),s=zo(t);return new Wa(n[Ft].data[s+8],n)}return new Wa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=h_(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-cr}createEmbeddedView(t,n,s){let u,h;"number"==typeof s?u=s:null!=s&&(u=s.index,h=s.injector);const _=t.createEmbeddedView(n||{},h);return this.insert(_,u),_}createComponent(t,n,s,u,h){const _=t&&!function Oa(e){return"function"==typeof e}(t);let w;if(_)w=n;else{const ee=n||{};w=ee.index,s=ee.injector,u=ee.projectableNodes,h=ee.environmentInjector||ee.ngModuleRef}const T=_?t:new Ud(I(t)),F=s||this.parentInjector;if(!h&&null==T.ngModule){const Ee=(_?F:this.parentInjector).get(hl,null);Ee&&(h=Ee)}const z=T.create(F,u,void 0,h);return this.insert(z.hostView,w),z}insert(t,n){const s=t._lView,u=s[Ft];if(function jo(e){return zn(e[xn])}(s)){const z=this.indexOf(t);if(-1!==z)this.detach(z);else{const ee=s[xn],Ee=new f_(ee,ee[sr],ee[xn]);Ee.detach(Ee.indexOf(t))}}const h=this._adjustIndex(n),_=this._lContainer;!function du(e,t,n,s){const u=cr+s,h=n.length;s>0&&(n[u-1][br]=t),s0)s.push(_[w/2]);else{const F=h[w+1],z=t[-T];for(let ee=cr;ee{class e{constructor(n){this.appInits=n,this.resolve=Kf,this.reject=Kf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,u)=>{this.resolve=s,this.reject=u})}runInitializers(){if(this.initialized)return;const n=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let u=0;u{h.subscribe({complete:w,error:T})});n.push(_)}}Promise.all(n).then(()=>{s()}).catch(u=>{this.reject(u)}),0===n.length&&s(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(ie(j_,8))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $_=new vr("AppId",{providedIn:"root",factory:function G_(){return`${_p()}${_p()}${_p()}`}});function _p(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const z_=new vr("Platform Initializer"),yD=new vr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),bD=new vr("AnimationModuleType");let DD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Zf=new vr("LocaleId",{providedIn:"root",factory:()=>nt(Zf,Je.Optional|Je.SkipSelf)||function wD(){return typeof $localize<"u"&&$localize.locale||rd}()}),ED=new vr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class CD{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let TD=(()=>{class e{compileModuleSync(n){return new tp(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const s=this.compileModuleSync(n),h=ts(Bt(n).declarations).reduce((_,w)=>{const T=I(w);return T&&_.push(new Ud(T)),_},[]);return new CD(s,h)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ND=(()=>Promise.resolve(0))();function vp(e){typeof Zone>"u"?ND.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ya{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bl(!1),this.onMicrotaskEmpty=new bl(!1),this.onStable=new bl(!1),this.onError=new bl(!1),typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!s&&n,u.shouldCoalesceRunChangeDetection=s,u.lastRequestAnimationFrameId=-1,u.nativeRequestAnimationFrame=function OD(){let e=zt.requestAnimationFrame,t=zt.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function RD(e){const t=()=>{!function ID(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(zt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bp(e),e.isCheckStableRunning=!0,yp(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,s,u,h,_,w)=>{try{return q_(e),n.invokeTask(u,h,_,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&t(),K_(e)}},onInvoke:(n,s,u,h,_,w,T)=>{try{return q_(e),n.invoke(u,h,_,w,T)}finally{e.shouldCoalesceRunChangeDetection&&t(),K_(e)}},onHasTask:(n,s,u,h)=>{n.hasTask(u,h),s===u&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,bp(e),yp(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(n,s,u,h)=>(n.handleError(u,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(u)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ya.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(ya.isInAngularZone())throw new me(909,!1)}run(t,n,s){return this._inner.run(t,n,s)}runTask(t,n,s,u){const h=this._inner,_=h.scheduleEventTask("NgZoneEvent: "+u,t,AD,Kf,Kf);try{return h.runTask(_,n,s)}finally{h.cancelTask(_)}}runGuarded(t,n,s){return this._inner.runGuarded(t,n,s)}runOutsideAngular(t){return this._outer.run(t)}}const AD={};function yp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function bp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function q_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function K_(e){e._nesting--,yp(e)}class PD{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bl,this.onMicrotaskEmpty=new bl,this.onStable=new bl,this.onError=new bl}run(t,n,s){return t.apply(n,s)}runGuarded(t,n,s){return t.apply(n,s)}runOutsideAngular(t){return t()}runTask(t,n,s,u){return t.apply(n,s)}}const J_=new vr(""),Z_=new vr("");let Dp,xD=(()=>{class e{constructor(n,s,u){this._ngZone=n,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Dp||(function FD(e){Dp=e}(u),u.addToWindow(s)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ya.assertNotInAngularZone(),vp(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())vp(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(n)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,s,u){let h=-1;s&&s>0&&(h=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==h),n(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:n,timeoutId:h,updateCb:u})}whenStable(n,s,u){if(u&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,s,u),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,s,u){return[]}}return e.\u0275fac=function(n){return new(n||e)(ie(ya),ie(Q_),ie(Z_))},e.\u0275prov=gt({token:e,factory:e.\u0275fac}),e})(),Q_=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,s){this._applications.set(n,s)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,s=!0){return Dp?.findTestabilityInTree(this,n,s)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const Xl=!1;let yu=null;const X_=new vr("AllowMultipleToken"),wp=new vr("PlatformDestroyListeners"),ev=new vr("appBootstrapListener");class BD{constructor(t,n){this.name=t,this.token=n}}function nv(e,t,n=[]){const s=`Platform: ${t}`,u=new vr(s);return(h=[])=>{let _=Ep();if(!_||_.injector.get(X_,!1)){const w=[...n,...h,{provide:u,useValue:!0}];e?e(w):function VD(e){if(yu&&!yu.get(X_,!1))throw new me(400,!1);yu=e;const t=e.get(iv);(function tv(e){const t=e.get(z_,null);t&&t.forEach(n=>n())})(e)}(function rv(e=[],t){return Qu.create({name:t,providers:[{provide:gu,useValue:"platform"},{provide:wp,useValue:new Set([()=>yu=null])},...e]})}(w,s))}return function UD(e){const t=Ep();if(!t)throw new me(401,!1);return t}()}}function Ep(){return yu?.get(iv)??null}let iv=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,s){const u=function sv(e,t){let n;return n="noop"===e?new PD:("zone.js"===e?void 0:e)||new ya(t),n}(s?.ngZone,function ov(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(s)),h=[{provide:ya,useValue:u}];return u.run(()=>{const _=Qu.create({providers:h,parent:this.injector,name:n.moduleType.name}),w=n.create(_),T=w.injector.get(Si,null);if(!T)throw new me(402,!1);return u.runOutsideAngular(()=>{const F=u.onError.subscribe({next:z=>{T.handleError(z)}});w.onDestroy(()=>{Xf(this._modules,w),F.unsubscribe()})}),function av(e,t,n){try{const s=n();return Ih(s)?s.catch(u=>{throw t.runOutsideAngular(()=>e.handleError(u)),u}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}(T,u,()=>{const F=w.injector.get(Jf);return F.runInitializers(),F.donePromise.then(()=>(_m(w.injector.get(Zf,rd)||rd),this._moduleDoBootstrap(w),w))})})}bootstrapModule(n,s=[]){const u=lv({},s);return function kD(e,t,n){const s=new tp(n);return Promise.resolve(s)}(0,0,n).then(h=>this.bootstrapModuleFactory(h,u))}_moduleDoBootstrap(n){const s=n.injector.get(Qf);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(u=>s.bootstrap(u));else{if(!n.instance.ngDoBootstrap)throw new me(-403,!1);n.instance.ngDoBootstrap(s)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new me(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const n=this._injector.get(wp,null);n&&(n.forEach(s=>s()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(ie(Qu))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function lv(e,t){return Array.isArray(t)?t.reduce(lv,e):{...e,...t}}let Qf=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,s,u){this._zone=n,this._injector=s,this._exceptionHandler=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const h=new se.y(w=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{w.next(this._stable),w.complete()})}),_=new se.y(w=>{let T;this._zone.runOutsideAngular(()=>{T=this._zone.onStable.subscribe(()=>{ya.assertNotInAngularZone(),vp(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,w.next(!0))})})});const F=this._zone.onUnstable.subscribe(()=>{ya.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{T.unsubscribe(),F.unsubscribe()}});this.isStable=(0,de.T)(h,_.pipe(function pe(e={}){const{connector:t=(()=>new r.x),resetOnError:n=!0,resetOnComplete:s=!0,resetOnRefCountZero:u=!0}=e;return h=>{let _,w,T,F=0,z=!1,ee=!1;const Ee=()=>{w?.unsubscribe(),w=void 0},Ve=()=>{Ee(),_=T=void 0,z=ee=!1},ot=()=>{const Ct=_;Ve(),Ct?.unsubscribe()};return(0,Pe.e)((Ct,$t)=>{F++,!ee&&!z&&Ee();const Zt=T=T??t();$t.add(()=>{F--,0===F&&!ee&&!z&&(w=ke(ot,u))}),Zt.subscribe($t),!_&&F>0&&(_=new Oe.Hp({next:mn=>Zt.next(mn),error:mn=>{ee=!0,Ee(),w=ke(Ve,n,mn),Zt.error(mn)},complete:()=>{z=!0,Ee(),w=ke(Ve,s),Zt.complete()}}),(0,ve.Xf)(Ct).subscribe(_))})(h)}}()))}bootstrap(n,s){const u=n instanceof Be;if(!this._injector.get(Jf).done){!u&&rt(n);throw new me(405,Xl)}let _;_=u?n:this._injector.get(Vn).resolveComponentFactory(n),this.componentTypes.push(_.componentType);const w=function LD(e){return e.isBoundToModule}(_)?void 0:this._injector.get(id),F=_.create(Qu.NULL,[],s||_.selector,w),z=F.location.nativeElement,ee=F.injector.get(J_,null);return ee?.registerApplication(z),F.onDestroy(()=>{this.detachView(F.hostView),Xf(this.components,F),ee?.unregisterApplication(z)}),this._loadComponent(F),F}tick(){if(this._runningTick)throw new me(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const s=n;this._views.push(s),s.attachToAppRef(this)}detachView(n){const s=n;Xf(this._views,s),s.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const s=this._injector.get(ev,[]);s.push(...this._bootstrapListeners),s.forEach(u=>u(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Xf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(ie(ya),ie(hl),ie(Si))},e.\u0275prov=gt({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Xf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function $D(){}let GD=(()=>{class e{}return e.__NG_ELEMENT_ID__=zD,e})();function zD(e){return function WD(e,t,n){if(Mr(e)&&!n){const s=wr(e.index,t);return new Hd(s,s)}return 47&e.type?new Hd(t[Ur],t):null}(gr(),ne(),16==(16&e))}class hv{constructor(){}supports(t){return Rf(t)}create(t){return new QD(t)}}const ZD=(e,t)=>t;class QD{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ZD}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,s=this._removalsHead,u=0,h=null;for(;n||s;){const _=!s||n&&n.currentIndex{_=this._trackByFn(u,w),null!==n&&Object.is(n.trackById,_)?(s&&(n=this._verifyReinsertion(n,w,_,u)),Object.is(n.item,w)||this._addIdentityChange(n,w)):(n=this._mismatch(n,w,_,u),s=!0),n=n._next,u++}),this.length=u;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,s,u){let h;return null===t?h=this._itTail:(h=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,h,u)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,u))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,h,u)):t=this._addAfter(new XD(n,s),h,u),t}_verifyReinsertion(t,n,s,u){let h=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==h?t=this._reinsertAfter(h,t._prev,u):t.currentIndex!=u&&(t.currentIndex=u,this._addToMoves(t,u)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const u=t._prevRemoved,h=t._nextRemoved;return null===u?this._removalsHead=h:u._nextRemoved=h,null===h?this._removalsTail=u:h._prevRemoved=u,this._insertAfter(t,n,s),this._addToMoves(t,s),t}_moveAfter(t,n,s){return this._unlink(t),this._insertAfter(t,n,s),this._addToMoves(t,s),t}_addAfter(t,n,s){return this._insertAfter(t,n,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,s){const u=null===n?this._itHead:n._next;return t._next=u,t._prev=n,null===u?this._itTail=t:u._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new pv),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,s=t._next;return null===n?this._itHead=s:n._next=s,null===s?this._itTail=n:s._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new pv),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class XD{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class e1{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===n||n<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const n=t._prevDup,s=t._nextDup;return null===n?this._head=s:n._nextDup=s,null===s?this._tail=n:s._prevDup=n,null===this._head}}class pv{constructor(){this.map=new Map}put(t){const n=t.trackById;let s=this.map.get(n);s||(s=new e1,this.map.set(n,s)),s.add(t)}get(t,n){const u=this.map.get(t);return u?u.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gv(e,t,n){const s=e.previousIndex;if(null===s)return s;let u=0;return n&&s{if(n&&n.key===u)this._maybeAddToChanges(n,s),this._appendAfter=n,n=n._next;else{const h=this._getOrCreateRecordForKey(u,s);n=this._insertBeforeOrAppend(n,h)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let s=n;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const s=t._prev;return n._next=t,n._prev=s,t._prev=n,s&&(s._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const u=this._records.get(t);this._maybeAddToChanges(u,n);const h=u._prev,_=u._next;return h&&(h._next=_),_&&(_._prev=h),u._next=null,u._prev=null,u}const s=new n1(t);return this._records.set(t,s),s.currentValue=n,this._addToAdditions(s),s}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(s=>n(t[s],s))}}class n1{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _v(){return new Np([new hv])}let Np=(()=>{class e{constructor(n){this.factories=n}static create(n,s){if(null!=s){const u=s.factories.slice();n=n.concat(u)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||_v()),deps:[[e,new Il,new Jo]]}}find(n){const s=this.factories.find(u=>u.supports(n));if(null!=s)return s;throw new me(901,!1)}}return e.\u0275prov=gt({token:e,providedIn:"root",factory:_v}),e})();function vv(){return new Op([new mv])}let Op=(()=>{class e{constructor(n){this.factories=n}static create(n,s){if(s){const u=s.factories.slice();n=n.concat(u)}return new e(n)}static extend(n){return{provide:e,useFactory:s=>e.create(n,s||vv()),deps:[[e,new Il,new Jo]]}}find(n){const s=this.factories.find(u=>u.supports(n));if(s)return s;throw new me(901,!1)}}return e.\u0275prov=gt({token:e,providedIn:"root",factory:vv}),e})();const o1=nv(null,"core",[]);let s1=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(ie(Qf))},e.\u0275mod=ci({type:e}),e.\u0275inj=jt({}),e})();function a1(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function u1(e,t){const n=I(e),s=t.elementInjector||Id();return new Ud(n).create(s,t.projectableNodes,t.hostElement,t.environmentInjector)}},433:(kt,$e,V)=>{"use strict";V.d($e,{Wl:()=>lt,Fj:()=>me,qu:()=>Br,NI:()=>Vi,u:()=>$s,sg:()=>Ri,u5:()=>Ys,nD:()=>Un,Fd:()=>ro,wO:()=>jn,qQ:()=>Uo,Cf:()=>_t,JU:()=>tt,JJ:()=>Pt,JL:()=>Ot,F:()=>Ar,On:()=>To,YN:()=>as,wV:()=>eo,_:()=>zn,UX:()=>wa,Q7:()=>xi,EJ:()=>po,kI:()=>At,_Y:()=>ho,Kr:()=>ls});var r=V(1571),L=V(6895),se=V(2076),de=V(9751),ve=V(4742),Oe=V(8421),Pe=V(3269),pe=V(5403),ke=V(3268),ae=V(1810),xe=V(4004);let vt=(()=>{class R{constructor(S,W){this._renderer=S,this._elementRef=W,this.onChange=ne=>{},this.onTouched=()=>{}}setProperty(S,W){this._renderer.setProperty(this._elementRef.nativeElement,S,W)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(r.Qsj),r.Y36(r.SBq))},R.\u0275dir=r.lG2({type:R}),R})(),Ue=(()=>{class R extends vt{}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,features:[r.qOj]}),R})();const tt=new r.OlP("NgValueAccessor"),Ae={provide:tt,useExisting:(0,r.Gpc)(()=>lt),multi:!0};let lt=(()=>{class R extends Ue{writeValue(S){this.setProperty("checked",S)}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(S,W){1&S&&r.NdJ("change",function(ht){return W.onChange(ht.target.checked)})("blur",function(){return W.onTouched()})},features:[r._Bn([Ae]),r.qOj]}),R})();const Xe={provide:tt,useExisting:(0,r.Gpc)(()=>me),multi:!0},Mt=new r.OlP("CompositionEventMode");let me=(()=>{class R extends vt{constructor(S,W,ne){super(S,W),this._compositionMode=ne,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Lt(){const R=(0,L.q)()?(0,L.q)().getUserAgent():"";return/android (\d+)/.test(R.toLowerCase())}())}writeValue(S){this.setProperty("value",S??"")}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(Mt,8))},R.\u0275dir=r.lG2({type:R,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(S,W){1&S&&r.NdJ("input",function(ht){return W._handleInput(ht.target.value)})("blur",function(){return W.onTouched()})("compositionstart",function(){return W._compositionStart()})("compositionend",function(ht){return W._compositionEnd(ht.target.value)})},features:[r._Bn([Xe]),r.qOj]}),R})();const ce=!1;function Ie(R){return null==R||("string"==typeof R||Array.isArray(R))&&0===R.length}function mt(R){return null!=R&&"number"==typeof R.length}const _t=new r.OlP("NgValidators"),ut=new r.OlP("NgAsyncValidators"),pt=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class At{static min(A){return at(A)}static max(A){return Kt(A)}static required(A){return st(A)}static requiredTrue(A){return function Jt(R){return!0===R.value?null:{required:!0}}(A)}static email(A){return function hn(R){return Ie(R.value)||pt.test(R.value)?null:{email:!0}}(A)}static minLength(A){return tn(A)}static maxLength(A){return Yn(A)}static pattern(A){return function He(R){if(!R)return Fe;let A,S;return"string"==typeof R?(S="","^"!==R.charAt(0)&&(S+="^"),S+=R,"$"!==R.charAt(R.length-1)&&(S+="$"),A=new RegExp(S)):(S=R.toString(),A=R),W=>{if(Ie(W.value))return null;const ne=W.value;return A.test(ne)?null:{pattern:{requiredPattern:S,actualValue:ne}}}}(A)}static nullValidator(A){return null}static compose(A){return qt(A)}static composeAsync(A){return fn(A)}}function at(R){return A=>{if(Ie(A.value)||Ie(R))return null;const S=parseFloat(A.value);return!isNaN(S)&&S{if(Ie(A.value)||Ie(R))return null;const S=parseFloat(A.value);return!isNaN(S)&&S>R?{max:{max:R,actual:A.value}}:null}}function st(R){return Ie(R.value)?{required:!0}:null}function tn(R){return A=>Ie(A.value)||!mt(A.value)?null:A.value.lengthmt(A.value)&&A.value.length>R?{maxlength:{requiredLength:R,actualLength:A.value.length}}:null}function Fe(R){return null}function ze(R){return null!=R}function fe(R){const A=(0,r.QGY)(R)?(0,se.D)(R):R;if(ce&&!(0,r.CqO)(A)){let S="Expected async validator to return Promise or Observable.";throw"object"==typeof R&&(S+=" Are you using a synchronous validator where an async validator is expected?"),new r.vHH(-1101,S)}return A}function Re(R){let A={};return R.forEach(S=>{A=null!=S?{...A,...S}:A}),0===Object.keys(A).length?null:A}function te(R,A){return A.map(S=>S(R))}function Ge(R){return R.map(A=>function Te(R){return!R.validate}(A)?A:S=>A.validate(S))}function qt(R){if(!R)return null;const A=R.filter(ze);return 0==A.length?null:function(S){return Re(te(S,A))}}function et(R){return null!=R?qt(Ge(R)):null}function fn(R){if(!R)return null;const A=R.filter(ze);return 0==A.length?null:function(S){return function we(...R){const A=(0,Pe.jO)(R),{args:S,keys:W}=(0,ve.D)(R),ne=new de.y(ht=>{const{length:Qn}=S;if(!Qn)return void ht.complete();const Jr=new Array(Qn);let gr=Qn,yo=Qn;for(let zi=0;zi{Ir||(Ir=!0,yo--),Jr[zi]=mr},()=>gr--,void 0,()=>{(!gr||!Ir)&&(yo||ht.next(W?(0,ae.n)(W,Jr):Jr),ht.complete())}))}});return A?ne.pipe((0,ke.Z)(A)):ne}(te(S,A).map(fe)).pipe((0,xe.U)(Re))}}function gt(R){return null!=R?fn(Ge(R)):null}function Qt(R,A){return null===R?[A]:Array.isArray(R)?[...R,A]:[R,A]}function jt(R){return R._rawValidators}function Cn(R){return R._rawAsyncValidators}function Xt(R){return R?Array.isArray(R)?R:[R]:[]}function Me(R,A){return Array.isArray(R)?R.includes(A):R===A}function J(R,A){const S=Xt(A);return Xt(R).forEach(ne=>{Me(S,ne)||S.push(ne)}),S}function oe(R,A){return Xt(A).filter(S=>!Me(R,S))}class Ne{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(A){this._rawValidators=A||[],this._composedValidatorFn=et(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=gt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A){this.control&&this.control.reset(A)}hasError(A,S){return!!this.control&&this.control.hasError(A,S)}getError(A,S){return this.control?this.control.getError(A,S):null}}class Ce extends Ne{get formDirective(){return null}get path(){return null}}class Ke extends Ne{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class wt{constructor(A){this._cd=A}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Pt=(()=>{class R extends wt{constructor(S){super(S)}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(Ke,2))},R.\u0275dir=r.lG2({type:R,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(S,W){2&S&&r.ekj("ng-untouched",W.isUntouched)("ng-touched",W.isTouched)("ng-pristine",W.isPristine)("ng-dirty",W.isDirty)("ng-valid",W.isValid)("ng-invalid",W.isInvalid)("ng-pending",W.isPending)},features:[r.qOj]}),R})(),Ot=(()=>{class R extends wt{constructor(S){super(S)}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(Ce,10))},R.\u0275dir=r.lG2({type:R,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(S,W){2&S&&r.ekj("ng-untouched",W.isUntouched)("ng-touched",W.isTouched)("ng-pristine",W.isPristine)("ng-dirty",W.isDirty)("ng-valid",W.isValid)("ng-invalid",W.isInvalid)("ng-pending",W.isPending)("ng-submitted",W.isSubmitted)},features:[r.qOj]}),R})();function Sr(R,A){return R?`with name: '${A}'`:`at index: ${A}`}const ye=!1,nt="VALID",Ze="INVALID",Et="PENDING",Wt="DISABLED";function pn(R){return(be(R)?R.validators:R)||null}function vn(R,A){return(be(A)?A.asyncValidators:R)||null}function be(R){return null!=R&&!Array.isArray(R)&&"object"==typeof R}function he(R,A,S){const W=R.controls;if(!(A?Object.keys(W):W).length)throw new r.vHH(1e3,ye?function Hn(R){return`\n There are no form controls registered with this ${R?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(A):"");if(!W[S])throw new r.vHH(1001,ye?function qe(R,A){return`Cannot find form control ${Sr(R,A)}`}(A,S):"")}function Y(R,A,S){R._forEachChild((W,ne)=>{if(void 0===S[ne])throw new r.vHH(1002,ye?function ie(R,A){return`Must supply a value for form control ${Sr(R,A)}`}(A,ne):"")})}class X{constructor(A,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(A),this._assignAsyncValidators(S)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get valid(){return this.status===nt}get invalid(){return this.status===Ze}get pending(){return this.status==Et}get disabled(){return this.status===Wt}get enabled(){return this.status!==Wt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._assignValidators(A)}setAsyncValidators(A){this._assignAsyncValidators(A)}addValidators(A){this.setValidators(J(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(J(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(oe(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(oe(A,this._rawAsyncValidators))}hasValidator(A){return Me(this._rawValidators,A)}hasAsyncValidator(A){return Me(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){this.touched=!0,this._parent&&!A.onlySelf&&this._parent.markAsTouched(A)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(A=>A.markAllAsTouched())}markAsUntouched(A={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}markAsDirty(A={}){this.pristine=!1,this._parent&&!A.onlySelf&&this._parent.markAsDirty(A)}markAsPristine(A={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}markAsPending(A={}){this.status=Et,!1!==A.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!A.onlySelf&&this._parent.markAsPending(A)}disable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=Wt,this.errors=null,this._forEachChild(W=>{W.disable({...A,onlySelf:!0})}),this._updateValue(),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...A,skipPristineCheck:S}),this._onDisabledChange.forEach(W=>W(!0))}enable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=nt,this._forEachChild(W=>{W.enable({...A,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors({...A,skipPristineCheck:S}),this._onDisabledChange.forEach(W=>W(!1))}_updateAncestors(A){this._parent&&!A.onlySelf&&(this._parent.updateValueAndValidity(A),A.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nt||this.status===Et)&&this._runAsyncValidator(A.emitEvent)),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.updateValueAndValidity(A)}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Wt:nt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A){if(this.asyncValidator){this.status=Et,this._hasOwnPendingAsyncValidator=!0;const S=fe(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(W=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(W,{emitEvent:A})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(A,S={}){this.errors=A,this._updateControlsErrors(!1!==S.emitEvent)}get(A){let S=A;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((W,ne)=>W&&W._find(ne),this)}getError(A,S){const W=S?this.get(S):this;return W&&W.errors?W.errors[A]:null}hasError(A,S){return!!this.getError(A,S)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(A)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?Wt:this.errors?Ze:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Et)?Et:this._anyControlsHaveStatus(Ze)?Ze:nt}_anyControlsHaveStatus(A){return this._anyControls(S=>S.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A={}){this.pristine=!this._anyControlsDirty(),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}_updateTouched(A={}){this.touched=this._anyControlsTouched(),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){be(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(A){return null}_assignValidators(A){this._rawValidators=Array.isArray(A)?A.slice():A,this._composedValidatorFn=function rn(R){return Array.isArray(R)?et(R):R||null}(this._rawValidators)}_assignAsyncValidators(A){this._rawAsyncValidators=Array.isArray(A)?A.slice():A,this._composedAsyncValidatorFn=function Mn(R){return Array.isArray(R)?gt(R):R||null}(this._rawAsyncValidators)}}class We extends X{constructor(A,S,W){super(pn(S),vn(W,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(A,S){return this.controls[A]?this.controls[A]:(this.controls[A]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(A,S,W={}){this.registerControl(A,S),this.updateValueAndValidity({emitEvent:W.emitEvent}),this._onCollectionChange()}removeControl(A,S={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(A,S,W={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],S&&this.registerControl(A,S),this.updateValueAndValidity({emitEvent:W.emitEvent}),this._onCollectionChange()}contains(A){return this.controls.hasOwnProperty(A)&&this.controls[A].enabled}setValue(A,S={}){Y(this,!0,A),Object.keys(A).forEach(W=>{he(this,!0,W),this.controls[W].setValue(A[W],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(Object.keys(A).forEach(W=>{const ne=this.controls[W];ne&&ne.patchValue(A[W],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A={},S={}){this._forEachChild((W,ne)=>{W.reset(A[ne],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(A,S,W)=>(A[W]=S.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(S,W)=>!!W._syncPendingControls()||S);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(S=>{const W=this.controls[S];W&&A(W,S)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[S,W]of Object.entries(this.controls))if(this.contains(S)&&A(W))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,W,ne)=>((W.enabled||this.disabled)&&(S[ne]=W.value),S))}_reduceChildren(A,S){let W=A;return this._forEachChild((ne,ht)=>{W=S(W,ne,ht)}),W}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return this.controls.hasOwnProperty(A)?this.controls[A]:null}}class en extends We{}const er=new r.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Kn(R,A){return[...A.path,R]}function Wr(R,A,S=pr){Yr(R,A),A.valueAccessor.writeValue(R.value),(R.disabled||"always"===S)&&A.valueAccessor.setDisabledState?.(R.disabled),function K(R,A){A.valueAccessor.registerOnChange(S=>{R._pendingValue=S,R._pendingChange=!0,R._pendingDirty=!0,"change"===R.updateOn&&I(R,A)})}(R,A),function H(R,A){const S=(W,ne)=>{A.valueAccessor.writeValue(W),ne&&A.viewToModelUpdate(W)};R.registerOnChange(S),A._registerOnDestroy(()=>{R._unregisterOnChange(S)})}(R,A),function B(R,A){A.valueAccessor.registerOnTouched(()=>{R._pendingTouched=!0,"blur"===R.updateOn&&R._pendingChange&&I(R,A),"submit"!==R.updateOn&&R.markAsTouched()})}(R,A),function ci(R,A){if(A.valueAccessor.setDisabledState){const S=W=>{A.valueAccessor.setDisabledState(W)};R.registerOnDisabledChange(S),A._registerOnDestroy(()=>{R._unregisterOnDisabledChange(S)})}}(R,A)}function Hr(R,A,S=!0){const W=()=>{};A.valueAccessor&&(A.valueAccessor.registerOnChange(W),A.valueAccessor.registerOnTouched(W)),qr(R,A),R&&(A._invokeOnDestroyCallbacks(),R._registerOnCollectionChange(()=>{}))}function ri(R,A){R.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(A)})}function Yr(R,A){const S=jt(R);null!==A.validator?R.setValidators(Qt(S,A.validator)):"function"==typeof S&&R.setValidators([S]);const W=Cn(R);null!==A.asyncValidator?R.setAsyncValidators(Qt(W,A.asyncValidator)):"function"==typeof W&&R.setAsyncValidators([W]);const ne=()=>R.updateValueAndValidity();ri(A._rawValidators,ne),ri(A._rawAsyncValidators,ne)}function qr(R,A){let S=!1;if(null!==R){if(null!==A.validator){const ne=jt(R);if(Array.isArray(ne)&&ne.length>0){const ht=ne.filter(Qn=>Qn!==A.validator);ht.length!==ne.length&&(S=!0,R.setValidators(ht))}}if(null!==A.asyncValidator){const ne=Cn(R);if(Array.isArray(ne)&&ne.length>0){const ht=ne.filter(Qn=>Qn!==A.asyncValidator);ht.length!==ne.length&&(S=!0,R.setAsyncValidators(ht))}}}const W=()=>{};return ri(A._rawValidators,W),ri(A._rawAsyncValidators,W),S}function I(R,A){R._pendingDirty&&R.markAsDirty(),R.setValue(R._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(R._pendingValue),R._pendingChange=!1}function le(R,A){Yr(R,A)}function Ft(R,A){if(!R.hasOwnProperty("model"))return!1;const S=R.model;return!!S.isFirstChange()||!Object.is(A,S.currentValue)}function xn(R,A){R._syncPendingControls(),A.forEach(S=>{const W=S.control;"submit"===W.updateOn&&W._pendingChange&&(S.viewToModelUpdate(W._pendingValue),W._pendingChange=!1)})}function br(R,A){if(!A)return null;let S,W,ne;return Array.isArray(A),A.forEach(ht=>{ht.constructor===me?S=ht:function sn(R){return Object.getPrototypeOf(R.constructor)===Ue}(ht)?W=ht:ne=ht}),ne||W||S||null}const Ni={provide:Ce,useExisting:(0,r.Gpc)(()=>Ar)},Ln=(()=>Promise.resolve())();let Ar=(()=>{class R extends Ce{constructor(S,W,ne){super(),this.callSetDisabledState=ne,this.submitted=!1,this._directives=new Set,this.ngSubmit=new r.vpe,this.form=new We({},et(S),gt(W))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(S){Ln.then(()=>{const W=this._findContainer(S.path);S.control=W.registerControl(S.name,S.control),Wr(S.control,S,this.callSetDisabledState),S.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(S)})}getControl(S){return this.form.get(S.path)}removeControl(S){Ln.then(()=>{const W=this._findContainer(S.path);W&&W.removeControl(S.name),this._directives.delete(S)})}addFormGroup(S){Ln.then(()=>{const W=this._findContainer(S.path),ne=new We({});le(ne,S),W.registerControl(S.name,ne),ne.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(S){Ln.then(()=>{const W=this._findContainer(S.path);W&&W.removeControl(S.name)})}getFormGroup(S){return this.form.get(S.path)}updateModel(S,W){Ln.then(()=>{this.form.get(S.path).setValue(W)})}setValue(S){this.control.setValue(S)}onSubmit(S){return this.submitted=!0,xn(this.form,this._directives),this.ngSubmit.emit(S),"dialog"===S?.target?.method}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(S){return S.pop(),S.length?this.form.get(S):this.form}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(_t,10),r.Y36(ut,10),r.Y36(er,8))},R.\u0275dir=r.lG2({type:R,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(S,W){1&S&&r.NdJ("submit",function(ht){return W.onSubmit(ht)})("reset",function(){return W.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ni]),r.qOj]}),R})();function Kr(R,A){const S=R.indexOf(A);S>-1&&R.splice(S,1)}function _n(R){return"object"==typeof R&&null!==R&&2===Object.keys(R).length&&"value"in R&&"disabled"in R}const Vi=class extends X{constructor(A=null,S,W){super(pn(S),vn(W,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(A),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),be(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=_n(A)?A.value:A)}setValue(A,S={}){this.value=this._pendingValue=A,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(W=>W(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(A,S={}){this.setValue(A,S)}reset(A=this.defaultValue,S={}){this._applyFormState(A),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){Kr(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){Kr(this._onDisabledChange,A)}_forEachChild(A){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(A){_n(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}},Jn={provide:Ke,useExisting:(0,r.Gpc)(()=>To)},fo=(()=>Promise.resolve())();let To=(()=>{class R extends Ke{constructor(S,W,ne,ht,Qn,Jr){super(),this._changeDetectorRef=Qn,this.callSetDisabledState=Jr,this.control=new Vi,this._registered=!1,this.update=new r.vpe,this._parent=S,this._setValidators(W),this._setAsyncValidators(ne),this.valueAccessor=br(0,ht)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const W=S.name.previousValue;this.formDirective.removeControl({name:W,path:this._getPath(W)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),Ft(S,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Wr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(S){fo.then(()=>{this.control.setValue(S,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(S){const W=S.isDisabled.currentValue,ne=0!==W&&(0,r.D6c)(W);fo.then(()=>{ne&&!this.control.disabled?this.control.disable():!ne&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(S){return this._parent?Kn(S,this._parent):[S]}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(Ce,9),r.Y36(_t,10),r.Y36(ut,10),r.Y36(tt,10),r.Y36(r.sBO,8),r.Y36(er,8))},R.\u0275dir=r.lG2({type:R,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([Jn]),r.qOj,r.TTD]}),R})(),ho=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=r.lG2({type:R,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),R})();const Zn={provide:tt,useExisting:(0,r.Gpc)(()=>eo),multi:!0};let eo=(()=>{class R extends Ue{writeValue(S){this.setProperty("value",S??"")}registerOnChange(S){this.onChange=W=>{S(""==W?null:parseFloat(W))}}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(S,W){1&S&&r.NdJ("input",function(ht){return W.onChange(ht.target.value)})("blur",function(){return W.onTouched()})},features:[r._Bn([Zn]),r.qOj]}),R})();const Hi={provide:tt,useExisting:(0,r.Gpc)(()=>zn),multi:!0};let Lo=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=r.oAB({type:R}),R.\u0275inj=r.cJS({}),R})(),jr=(()=>{class R{constructor(){this._accessors=[]}add(S,W){this._accessors.push([S,W])}remove(S){for(let W=this._accessors.length-1;W>=0;--W)if(this._accessors[W][1]===S)return void this._accessors.splice(W,1)}select(S){this._accessors.forEach(W=>{this._isSameGroup(W,S)&&W[1]!==S&&W[1].fireUncheck(S.value)})}_isSameGroup(S,W){return!!S[0].control&&S[0]._parent===W._control._parent&&S[1].name===W.name}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275prov=r.Yz7({token:R,factory:R.\u0275fac,providedIn:Lo}),R})(),zn=(()=>{class R extends Ue{constructor(S,W,ne,ht){super(S,W),this._registry=ne,this._injector=ht,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,r.f3M)(er,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Ke),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(S){this._state=S===this.value,this.setProperty("checked",this._state)}registerOnChange(S){this._fn=S,this.onChange=()=>{S(this.value),this._registry.select(this)}}setDisabledState(S){(this.setDisabledStateFired||S||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",S),this.setDisabledStateFired=!0}fireUncheck(S){this.writeValue(S)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(jr),r.Y36(r.zs3))},R.\u0275dir=r.lG2({type:R,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(S,W){1&S&&r.NdJ("change",function(){return W.onChange()})("blur",function(){return W.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r._Bn([Hi]),r.qOj]}),R})();const to=new r.OlP("NgModelWithFormControlWarning"),Ii={provide:Ce,useExisting:(0,r.Gpc)(()=>Ri)};let Ri=(()=>{class R extends Ce{constructor(S,W,ne){super(),this.callSetDisabledState=ne,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(S),this._setAsyncValidators(W)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const W=this.form.get(S.path);return Wr(W,S,this.callSetDisabledState),W.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),W}getControl(S){return this.form.get(S.path)}removeControl(S){Hr(S.control||null,S,!1),function di(R,A){const S=R.indexOf(A);S>-1&&R.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,W){this.form.get(S.path).setValue(W)}onSubmit(S){return this.submitted=!0,xn(this.form,this.directives),this.ngSubmit.emit(S),"dialog"===S?.target?.method}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const W=S.control,ne=this.form.get(S.path);W!==ne&&(Hr(W||null,S),(R=>R instanceof Vi)(ne)&&(Wr(ne,S,this.callSetDisabledState),S.control=ne))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const W=this.form.get(S.path);le(W,S),W.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const W=this.form.get(S.path);W&&function rt(R,A){return qr(R,A)}(W,S)&&W.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Yr(this.form,this),this._oldForm&&qr(this._oldForm,this)}_checkFormPresent(){}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(_t,10),r.Y36(ut,10),r.Y36(er,8))},R.\u0275dir=r.lG2({type:R,selectors:[["","formGroup",""]],hostBindings:function(S,W){1&S&&r.NdJ("submit",function(ht){return W.onSubmit(ht)})("reset",function(){return W.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([Ii]),r.qOj,r.TTD]}),R})();const Ui={provide:Ke,useExisting:(0,r.Gpc)(()=>$s)};let $s=(()=>{class R extends Ke{set isDisabled(S){}constructor(S,W,ne,ht,Qn){super(),this._ngModelWarningConfig=Qn,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=S,this._setValidators(W),this._setAsyncValidators(ne),this.valueAccessor=br(0,ht)}ngOnChanges(S){this._added||this._setUpControl(),Ft(S,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}get path(){return Kn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return R._ngModelWarningSentOnce=!1,R.\u0275fac=function(S){return new(S||R)(r.Y36(Ce,13),r.Y36(_t,10),r.Y36(ut,10),r.Y36(tt,10),r.Y36(to,8))},R.\u0275dir=r.lG2({type:R,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([Ui]),r.qOj,r.TTD]}),R})();const Vo={provide:tt,useExisting:(0,r.Gpc)(()=>po),multi:!0};function ss(R,A){return null==R?`${A}`:(A&&"object"==typeof A&&(A="Object"),`${R}: ${A}`.slice(0,50))}let po=(()=>{class R extends Ue{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){this.value=S;const ne=ss(this._getOptionId(S),S);this.setProperty("value",ne)}registerOnChange(S){this.onChange=W=>{this.value=this._getOptionValue(W),S(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(S){for(const W of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(W),S))return W;return null}_getOptionValue(S){const W=function Gs(R){return R.split(":")[0]}(S);return this._optionMap.has(W)?this._optionMap.get(W):S}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(S,W){1&S&&r.NdJ("change",function(ht){return W.onChange(ht.target.value)})("blur",function(){return W.onTouched()})},inputs:{compareWith:"compareWith"},features:[r._Bn([Vo]),r.qOj]}),R})(),as=(()=>{class R{constructor(S,W,ne){this._element=S,this._renderer=W,this._select=ne,this._select&&(this.id=this._select._registerOption())}set ngValue(S){null!=this._select&&(this._select._optionMap.set(this.id,S),this._setElementValue(ss(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._setElementValue(S),this._select&&this._select.writeValue(this._select.value)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(po,9))},R.\u0275dir=r.lG2({type:R,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),R})();const Ds={provide:tt,useExisting:(0,r.Gpc)(()=>Oo),multi:!0};function Ho(R,A){return null==R?`${A}`:("string"==typeof A&&(A=`'${A}'`),A&&"object"==typeof A&&(A="Object"),`${R}: ${A}`.slice(0,50))}let Oo=(()=>{class R extends Ue{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){let W;if(this.value=S,Array.isArray(S)){const ne=S.map(ht=>this._getOptionId(ht));W=(ht,Qn)=>{ht._setSelected(ne.indexOf(Qn.toString())>-1)}}else W=(ne,ht)=>{ne._setSelected(!1)};this._optionMap.forEach(W)}registerOnChange(S){this.onChange=W=>{const ne=[],ht=W.selectedOptions;if(void 0!==ht){const Qn=ht;for(let Jr=0;Jr{class R{constructor(S,W,ne){this._element=S,this._renderer=W,this._select=ne,this._select&&(this.id=this._select._registerOption(this))}set ngValue(S){null!=this._select&&(this._value=S,this._setElementValue(Ho(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._select?(this._value=S,this._setElementValue(Ho(this.id,S)),this._select.writeValue(this._select.value)):this._setElementValue(S)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}_setSelected(S){this._renderer.setProperty(this._element.nativeElement,"selected",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return R.\u0275fac=function(S){return new(S||R)(r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(Oo,9))},R.\u0275dir=r.lG2({type:R,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),R})();function Pi(R){return"number"==typeof R?R:parseInt(R,10)}function ws(R){return"number"==typeof R?R:parseFloat(R)}let ji=(()=>{class R{constructor(){this._validator=Fe}ngOnChanges(S){if(this.inputName in S){const W=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(W),this._validator=this._enabled?this.createValidator(W):Fe,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275dir=r.lG2({type:R,features:[r.TTD]}),R})();const go={provide:_t,useExisting:(0,r.Gpc)(()=>ro),multi:!0};let ro=(()=>{class R extends ji{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=S=>ws(S),this.createValidator=S=>Kt(S)}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(S,W){2&S&&r.uIk("max",W._enabled?W.max:null)},inputs:{max:"max"},features:[r._Bn([go]),r.qOj]}),R})();const wl={provide:_t,useExisting:(0,r.Gpc)(()=>Uo),multi:!0};let Uo=(()=>{class R extends ji{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=S=>ws(S),this.createValidator=S=>at(S)}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(S,W){2&S&&r.uIk("min",W._enabled?W.min:null)},inputs:{min:"min"},features:[r._Bn([wl]),r.qOj]}),R})();const ba={provide:_t,useExisting:(0,r.Gpc)(()=>xi),multi:!0};let xi=(()=>{class R extends ji{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=r.D6c,this.createValidator=S=>st}enabled(S){return S}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(S,W){2&S&&r.uIk("required",W._enabled?"":null)},inputs:{required:"required"},features:[r._Bn([ba]),r.qOj]}),R})();const wi={provide:_t,useExisting:(0,r.Gpc)(()=>jn),multi:!0};let jn=(()=>{class R extends ji{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=S=>Pi(S),this.createValidator=S=>tn(S)}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(S,W){2&S&&r.uIk("minlength",W._enabled?W.minlength:null)},inputs:{minlength:"minlength"},features:[r._Bn([wi]),r.qOj]}),R})();const $i={provide:_t,useExisting:(0,r.Gpc)(()=>Un),multi:!0};let Un=(()=>{class R extends ji{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>Pi(S),this.createValidator=S=>Yn(S)}}return R.\u0275fac=function(){let A;return function(W){return(A||(A=r.n5z(R)))(W||R)}}(),R.\u0275dir=r.lG2({type:R,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(S,W){2&S&&r.uIk("maxlength",W._enabled?W.maxlength:null)},inputs:{maxlength:"maxlength"},features:[r._Bn([$i]),r.qOj]}),R})(),Ws=(()=>{class R{}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=r.oAB({type:R}),R.\u0275inj=r.cJS({imports:[Lo]}),R})();class fi extends X{constructor(A,S,W){super(pn(S),vn(W,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(A){return this.controls[this._adjustIndex(A)]}push(A,S={}){this.controls.push(A),this._registerControl(A),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}insert(A,S,W={}){this.controls.splice(A,0,S),this._registerControl(S),this.updateValueAndValidity({emitEvent:W.emitEvent})}removeAt(A,S={}){let W=this._adjustIndex(A);W<0&&(W=0),this.controls[W]&&this.controls[W]._registerOnCollectionChange(()=>{}),this.controls.splice(W,1),this.updateValueAndValidity({emitEvent:S.emitEvent})}setControl(A,S,W={}){let ne=this._adjustIndex(A);ne<0&&(ne=0),this.controls[ne]&&this.controls[ne]._registerOnCollectionChange(()=>{}),this.controls.splice(ne,1),S&&(this.controls.splice(ne,0,S),this._registerControl(S)),this.updateValueAndValidity({emitEvent:W.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(A,S={}){Y(this,!1,A),A.forEach((W,ne)=>{he(this,!1,ne),this.at(ne).setValue(W,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(A.forEach((W,ne)=>{this.at(ne)&&this.at(ne).patchValue(W,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A=[],S={}){this._forEachChild((W,ne)=>{W.reset(A[ne],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this.controls.map(A=>A.getRawValue())}clear(A={}){this.controls.length<1||(this._forEachChild(S=>S._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:A.emitEvent}))}_adjustIndex(A){return A<0?A+this.length:A}_syncPendingControls(){let A=this.controls.reduce((S,W)=>!!W._syncPendingControls()||S,!1);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){this.controls.forEach((S,W)=>{A(S,W)})}_updateValue(){this.value=this.controls.filter(A=>A.enabled||this.disabled).map(A=>A.value)}_anyControls(A){return this.controls.some(S=>S.enabled&&A(S))}_setUpControls(){this._forEachChild(A=>this._registerControl(A))}_allControlsDisabled(){for(const A of this.controls)if(A.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(A){A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)}_find(A){return this.at(A)??null}}function Es(R){return!!R&&(void 0!==R.asyncValidators||void 0!==R.validators||void 0!==R.updateOn)}let Br=(()=>{class R{constructor(){this.useNonNullable=!1}get nonNullable(){const S=new R;return S.useNonNullable=!0,S}group(S,W=null){const ne=this._reduceControls(S);let ht={};return Es(W)?ht=W:null!==W&&(ht.validators=W.validator,ht.asyncValidators=W.asyncValidator),new We(ne,ht)}record(S,W=null){const ne=this._reduceControls(S);return new en(ne,W)}control(S,W,ne){let ht={};return this.useNonNullable?(Es(W)?ht=W:(ht.validators=W,ht.asyncValidators=ne),new Vi(S,{...ht,nonNullable:!0})):new Vi(S,W,ne)}array(S,W,ne){const ht=S.map(Qn=>this._createControl(Qn));return new fi(ht,W,ne)}_reduceControls(S){const W={};return Object.keys(S).forEach(ne=>{W[ne]=this._createControl(S[ne])}),W}_createControl(S){return S instanceof Vi||S instanceof X?S:Array.isArray(S)?this.control(S[0],S.length>1?S[1]:null,S.length>2?S[2]:null):this.control(S)}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275prov=r.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ys=(()=>{class R{static withConfig(S){return{ngModule:R,providers:[{provide:er,useValue:S.callSetDisabledState??pr}]}}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=r.oAB({type:R}),R.\u0275inj=r.cJS({imports:[Ws]}),R})(),wa=(()=>{class R{static withConfig(S){return{ngModule:R,providers:[{provide:to,useValue:S.warnOnNgModelWithFormControl??"always"},{provide:er,useValue:S.callSetDisabledState??pr}]}}}return R.\u0275fac=function(S){return new(S||R)},R.\u0275mod=r.oAB({type:R}),R.\u0275inj=r.cJS({imports:[Ws]}),R})()},1321:()=>{"use strict";const kt=":";class ze extends Error{constructor(J){super(`No translation found for ${qt(J)}.`),this.parsedMessage=J,this.type="MissingTranslationError"}}const jt=function(Me,...J){if(jt.translate){const Ne=jt.translate(Me,J);Me=Ne[0],J=Ne[1]}let oe=Xt(Me[0],Me.raw[0]);for(let Ne=1;Netypeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)().$localize=jt},1481:(kt,$e,V)=>{"use strict";V.d($e,{Dx:()=>Ot,H7:()=>pn,b2:()=>Ke,h_:()=>Je,q6:()=>J,se:()=>st});var r=V(6895),L=V(1571);class se extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class de extends se{static makeCurrent(){(0,r.HT)(new de)}onAndCancel(he,Y,X){return he.addEventListener(Y,X,!1),()=>{he.removeEventListener(Y,X,!1)}}dispatchEvent(he,Y){he.dispatchEvent(Y)}remove(he){he.parentNode&&he.parentNode.removeChild(he)}createElement(he,Y){return(Y=Y||this.getDefaultDocument()).createElement(he)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(he){return he.nodeType===Node.ELEMENT_NODE}isShadowRoot(he){return he instanceof DocumentFragment}getGlobalEventTarget(he,Y){return"window"===Y?window:"document"===Y?he:"body"===Y?he.body:null}getBaseHref(he){const Y=function Oe(){return ve=ve||document.querySelector("base"),ve?ve.getAttribute("href"):null}();return null==Y?null:function pe(be){Pe=Pe||document.createElement("a"),Pe.setAttribute("href",be);const he=Pe.pathname;return"/"===he.charAt(0)?he:`/${he}`}(Y)}resetBaseElement(){ve=null}getUserAgent(){return window.navigator.userAgent}getCookie(he){return(0,r.Mx)(document.cookie,he)}}let Pe,ve=null;const ke=new L.OlP("TRANSITION_ID"),we=[{provide:L.ip1,useFactory:function ae(be,he,Y){return()=>{Y.get(L.CZH).donePromise.then(()=>{const X=(0,r.q)(),We=he.querySelectorAll(`style[ng-transition="${be}"]`);for(let It=0;It{class be{build(){return new XMLHttpRequest}}return be.\u0275fac=function(Y){return new(Y||be)},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})();const Ue=new L.OlP("EventManagerPlugins");let tt=(()=>{class be{constructor(Y,X){this._zone=X,this._eventNameToPlugin=new Map,Y.forEach(We=>{We.manager=this}),this._plugins=Y.slice().reverse()}addEventListener(Y,X,We){return this._findPluginFor(X).addEventListener(Y,X,We)}addGlobalEventListener(Y,X,We){return this._findPluginFor(X).addGlobalEventListener(Y,X,We)}getZone(){return this._zone}_findPluginFor(Y){const X=this._eventNameToPlugin.get(Y);if(X)return X;const We=this._plugins;for(let It=0;It{class be{constructor(){this.usageCount=new Map}addStyles(Y){for(const X of Y)1===this.changeUsageCount(X,1)&&this.onStyleAdded(X)}removeStyles(Y){for(const X of Y)0===this.changeUsageCount(X,-1)&&this.onStyleRemoved(X)}onStyleRemoved(Y){}onStyleAdded(Y){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Y,X){const We=this.usageCount;let It=We.get(Y)??0;return It+=X,It>0?We.set(Y,It):We.delete(Y),It}ngOnDestroy(){for(const Y of this.getAllStyles())this.onStyleRemoved(Y);this.usageCount.clear()}}return be.\u0275fac=function(Y){return new(Y||be)},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})(),Xe=(()=>{class be extends lt{constructor(Y){super(),this.doc=Y,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Y){for(const X of this.hostNodes)this.addStyleToHost(X,Y)}onStyleRemoved(Y){const X=this.styleRef;X.get(Y)?.forEach(It=>It.remove()),X.delete(Y)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Y){this.hostNodes.add(Y);for(const X of this.getAllStyles())this.addStyleToHost(Y,X)}removeHost(Y){this.hostNodes.delete(Y)}addStyleToHost(Y,X){const We=this.doc.createElement("style");We.textContent=X,Y.appendChild(We);const It=this.styleRef.get(X);It?It.push(We):this.styleRef.set(X,[We])}resetHostNodes(){const Y=this.hostNodes;Y.clear(),Y.add(this.doc.head)}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})();const Lt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Mt=/%COMP%/g,ut=new L.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function at(be,he){return he.flat(100).map(Y=>Y.replace(Mt,be))}function Kt(be){return he=>{if("__ngUnwrap__"===he)return be;!1===be(he)&&(he.preventDefault(),he.returnValue=!1)}}let st=(()=>{class be{constructor(Y,X,We,It){this.eventManager=Y,this.sharedStylesHost=X,this.appId=We,this.removeStylesOnCompDestory=It,this.rendererByCompId=new Map,this.defaultRenderer=new Jt(Y)}createRenderer(Y,X){if(!Y||!X)return this.defaultRenderer;const We=this.getOrCreateRenderer(Y,X);return We instanceof ze?We.applyToHost(Y):We instanceof Fe&&We.applyStyles(),We}getOrCreateRenderer(Y,X){const We=this.rendererByCompId;let It=We.get(X.id);if(!It){const xt=this.eventManager,en=this.sharedStylesHost,on=this.removeStylesOnCompDestory;switch(X.encapsulation){case L.ifc.Emulated:It=new ze(xt,en,X,this.appId,on);break;case L.ifc.ShadowDom:return new He(xt,en,Y,X);default:It=new Fe(xt,en,X,on)}It.onDestroy=()=>We.delete(X.id),We.set(X.id,It)}return It}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(tt),L.LFG(Xe),L.LFG(L.AFp),L.LFG(ut))},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})();class Jt{constructor(he){this.eventManager=he,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(he,Y){return Y?document.createElementNS(Lt[Y]||Y,he):document.createElement(he)}createComment(he){return document.createComment(he)}createText(he){return document.createTextNode(he)}appendChild(he,Y){(Yn(he)?he.content:he).appendChild(Y)}insertBefore(he,Y,X){he&&(Yn(he)?he.content:he).insertBefore(Y,X)}removeChild(he,Y){he&&he.removeChild(Y)}selectRootElement(he,Y){let X="string"==typeof he?document.querySelector(he):he;if(!X)throw new Error(`The selector "${he}" did not match any elements`);return Y||(X.textContent=""),X}parentNode(he){return he.parentNode}nextSibling(he){return he.nextSibling}setAttribute(he,Y,X,We){if(We){Y=We+":"+Y;const It=Lt[We];It?he.setAttributeNS(It,Y,X):he.setAttribute(Y,X)}else he.setAttribute(Y,X)}removeAttribute(he,Y,X){if(X){const We=Lt[X];We?he.removeAttributeNS(We,Y):he.removeAttribute(`${X}:${Y}`)}else he.removeAttribute(Y)}addClass(he,Y){he.classList.add(Y)}removeClass(he,Y){he.classList.remove(Y)}setStyle(he,Y,X,We){We&(L.JOm.DashCase|L.JOm.Important)?he.style.setProperty(Y,X,We&L.JOm.Important?"important":""):he.style[Y]=X}removeStyle(he,Y,X){X&L.JOm.DashCase?he.style.removeProperty(Y):he.style[Y]=""}setProperty(he,Y,X){he[Y]=X}setValue(he,Y){he.nodeValue=Y}listen(he,Y,X){return"string"==typeof he?this.eventManager.addGlobalEventListener(he,Y,Kt(X)):this.eventManager.addEventListener(he,Y,Kt(X))}}function Yn(be){return"TEMPLATE"===be.tagName&&void 0!==be.content}class He extends Jt{constructor(he,Y,X,We){super(he),this.sharedStylesHost=Y,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const It=at(We.id,We.styles);for(const xt of It){const en=document.createElement("style");en.textContent=xt,this.shadowRoot.appendChild(en)}}nodeOrShadowRoot(he){return he===this.hostEl?this.shadowRoot:he}appendChild(he,Y){return super.appendChild(this.nodeOrShadowRoot(he),Y)}insertBefore(he,Y,X){return super.insertBefore(this.nodeOrShadowRoot(he),Y,X)}removeChild(he,Y){return super.removeChild(this.nodeOrShadowRoot(he),Y)}parentNode(he){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(he)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Fe extends Jt{constructor(he,Y,X,We,It=X.id){super(he),this.sharedStylesHost=Y,this.removeStylesOnCompDestory=We,this.rendererUsageCount=0,this.styles=at(It,X.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class ze extends Fe{constructor(he,Y,X,We,It){const xt=We+"-"+X.id;super(he,Y,X,It,xt),this.contentAttr=function pt(be){return"_ngcontent-%COMP%".replace(Mt,be)}(xt),this.hostAttr=function At(be){return"_nghost-%COMP%".replace(Mt,be)}(xt)}applyToHost(he){this.applyStyles(),this.setAttribute(he,this.hostAttr,"")}createElement(he,Y){const X=super.createElement(he,Y);return super.setAttribute(X,this.contentAttr,""),X}}let fe=(()=>{class be extends Ae{constructor(Y){super(Y)}supports(Y){return!0}addEventListener(Y,X,We){return Y.addEventListener(X,We,!1),()=>this.removeEventListener(Y,X,We)}removeEventListener(Y,X,We){return Y.removeEventListener(X,We)}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})();const Re=["alt","control","meta","shift"],te={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Te={alt:be=>be.altKey,control:be=>be.ctrlKey,meta:be=>be.metaKey,shift:be=>be.shiftKey};let Ge=(()=>{class be extends Ae{constructor(Y){super(Y)}supports(Y){return null!=be.parseEventName(Y)}addEventListener(Y,X,We){const It=be.parseEventName(X),xt=be.eventCallback(It.fullKey,We,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(Y,It.domEventName,xt))}static parseEventName(Y){const X=Y.toLowerCase().split("."),We=X.shift();if(0===X.length||"keydown"!==We&&"keyup"!==We)return null;const It=be._normalizeKey(X.pop());let xt="",en=X.indexOf("code");if(en>-1&&(X.splice(en,1),xt="code."),Re.forEach(er=>{const pr=X.indexOf(er);pr>-1&&(X.splice(pr,1),xt+=er+".")}),xt+=It,0!=X.length||0===It.length)return null;const on={};return on.domEventName=We,on.fullKey=xt,on}static matchEventFullKeyCode(Y,X){let We=te[Y.key]||Y.key,It="";return X.indexOf("code.")>-1&&(We=Y.code,It="code."),!(null==We||!We)&&(We=We.toLowerCase()," "===We?We="space":"."===We&&(We="dot"),Re.forEach(xt=>{xt!==We&&(0,Te[xt])(Y)&&(It+=xt+".")}),It+=We,It===X)}static eventCallback(Y,X,We){return It=>{be.matchEventFullKeyCode(It,Y)&&We.runGuarded(()=>X(It))}}static _normalizeKey(Y){return"esc"===Y?"escape":Y}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:be.\u0275fac}),be})();const J=(0,L.eFA)(L._c5,"browser",[{provide:L.Lbi,useValue:r.bD},{provide:L.g9A,useValue:function jt(){de.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function Xt(){return(0,L.RDi)(document),document},deps:[]}]),oe=new L.OlP(""),Ne=[{provide:L.rWj,useClass:class xe{addToWindow(he){L.dqk.getAngularTestability=(X,We=!0)=>{const It=he.findTestabilityInTree(X,We);if(null==It)throw new Error("Could not find testability for element.");return It},L.dqk.getAllAngularTestabilities=()=>he.getAllTestabilities(),L.dqk.getAllAngularRootElements=()=>he.getAllRootElements(),L.dqk.frameworkStabilizers||(L.dqk.frameworkStabilizers=[]),L.dqk.frameworkStabilizers.push(X=>{const We=L.dqk.getAllAngularTestabilities();let It=We.length,xt=!1;const en=function(on){xt=xt||on,It--,0==It&&X(xt)};We.forEach(function(on){on.whenStable(en)})})}findTestabilityInTree(he,Y,X){return null==Y?null:he.getTestability(Y)??(X?(0,r.q)().isShadowRoot(Y)?this.findTestabilityInTree(he,Y.host,!0):this.findTestabilityInTree(he,Y.parentElement,!0):null)}},deps:[]},{provide:L.lri,useClass:L.dDg,deps:[L.R0b,L.eoX,L.rWj]},{provide:L.dDg,useClass:L.dDg,deps:[L.R0b,L.eoX,L.rWj]}],Ce=[{provide:L.zSh,useValue:"root"},{provide:L.qLn,useFactory:function Cn(){return new L.qLn},deps:[]},{provide:Ue,useClass:fe,multi:!0,deps:[r.K0,L.R0b,L.Lbi]},{provide:Ue,useClass:Ge,multi:!0,deps:[r.K0]},{provide:st,useClass:st,deps:[tt,Xe,L.AFp,ut]},{provide:L.FYo,useExisting:st},{provide:lt,useExisting:Xe},{provide:Xe,useClass:Xe,deps:[r.K0]},{provide:tt,useClass:tt,deps:[Ue,L.R0b]},{provide:r.JF,useClass:vt,deps:[]},[]];let Ke=(()=>{class be{constructor(Y){}static withServerTransition(Y){return{ngModule:be,providers:[{provide:L.AFp,useValue:Y.appId},{provide:ke,useExisting:L.AFp},we]}}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(oe,12))},be.\u0275mod=L.oAB({type:be}),be.\u0275inj=L.cJS({providers:[...Ce,...Ne],imports:[r.ez,L.hGG]}),be})(),Je=(()=>{class be{constructor(Y){this._doc=Y,this._dom=(0,r.q)()}addTag(Y,X=!1){return Y?this._getOrCreateElement(Y,X):null}addTags(Y,X=!1){return Y?Y.reduce((We,It)=>(It&&We.push(this._getOrCreateElement(It,X)),We),[]):[]}getTag(Y){return Y&&this._doc.querySelector(`meta[${Y}]`)||null}getTags(Y){if(!Y)return[];const X=this._doc.querySelectorAll(`meta[${Y}]`);return X?[].slice.call(X):[]}updateTag(Y,X){if(!Y)return null;X=X||this._parseSelector(Y);const We=this.getTag(X);return We?this._setMetaElementAttributes(Y,We):this._getOrCreateElement(Y,!0)}removeTag(Y){this.removeTagElement(this.getTag(Y))}removeTagElement(Y){Y&&this._dom.remove(Y)}_getOrCreateElement(Y,X=!1){if(!X){const xt=this._parseSelector(Y),en=this.getTags(xt).filter(on=>this._containsAttributes(Y,on))[0];if(void 0!==en)return en}const We=this._dom.createElement("meta");return this._setMetaElementAttributes(Y,We),this._doc.getElementsByTagName("head")[0].appendChild(We),We}_setMetaElementAttributes(Y,X){return Object.keys(Y).forEach(We=>X.setAttribute(this._getMetaKeyMap(We),Y[We])),X}_parseSelector(Y){const X=Y.name?"name":"property";return`${X}="${Y[X]}"`}_containsAttributes(Y,X){return Object.keys(Y).every(We=>X.getAttribute(this._getMetaKeyMap(We))===Y[We])}_getMetaKeyMap(Y){return Ht[Y]||Y}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:function(Y){let X=null;return X=Y?new Y:function wt(){return new Je((0,L.LFG)(r.K0))}(),X},providedIn:"root"}),be})();const Ht={httpEquiv:"http-equiv"};let Ot=(()=>{class be{constructor(Y){this._doc=Y}getTitle(){return this._doc.title}setTitle(Y){this._doc.title=Y||""}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:function(Y){let X=null;return X=Y?new Y:function Pt(){return new Ot((0,L.LFG)(r.K0))}(),X},providedIn:"root"}),be})();typeof window<"u"&&window;let pn=(()=>{class be{}return be.\u0275fac=function(Y){return new(Y||be)},be.\u0275prov=L.Yz7({token:be,factory:function(Y){let X=null;return X=Y?new(Y||be):L.LFG(vn),X},providedIn:"root"}),be})(),vn=(()=>{class be extends pn{constructor(Y){super(),this._doc=Y}sanitize(Y,X){if(null==X)return null;switch(Y){case L.q3G.NONE:return X;case L.q3G.HTML:return(0,L.qzn)(X,"HTML")?(0,L.z3N)(X):(0,L.EiD)(this._doc,String(X)).toString();case L.q3G.STYLE:return(0,L.qzn)(X,"Style")?(0,L.z3N)(X):X;case L.q3G.SCRIPT:if((0,L.qzn)(X,"Script"))return(0,L.z3N)(X);throw new Error("unsafe value used in a script context");case L.q3G.URL:return(0,L.qzn)(X,"URL")?(0,L.z3N)(X):(0,L.mCW)(String(X));case L.q3G.RESOURCE_URL:if((0,L.qzn)(X,"ResourceURL"))return(0,L.z3N)(X);throw new Error(`unsafe value used in a resource URL context (see ${L.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Y} (see ${L.JZr})`)}}bypassSecurityTrustHtml(Y){return(0,L.JVY)(Y)}bypassSecurityTrustStyle(Y){return(0,L.L6k)(Y)}bypassSecurityTrustScript(Y){return(0,L.eBb)(Y)}bypassSecurityTrustUrl(Y){return(0,L.LAX)(Y)}bypassSecurityTrustResourceUrl(Y){return(0,L.pB0)(Y)}}return be.\u0275fac=function(Y){return new(Y||be)(L.LFG(r.K0))},be.\u0275prov=L.Yz7({token:be,factory:function(Y){let X=null;return X=Y?new Y:function rn(be){return new vn(be.get(r.K0))}(L.LFG(L.zs3)),X},providedIn:"root"}),be})()},8869:(kt,$e,V)=>{"use strict";V.d($e,{gz:()=>Ai,m2:()=>Ln,OD:()=>Ni,F0:()=>Rr,rH:()=>gs,Od:()=>eu,Bz:()=>oa,lC:()=>Pi});var r=V(1571),L=V(2076),se=V(9646),de=V(1135);const Oe=(0,V(3888).d)(v=>function(){v(this),this.name="EmptyError",this.message="no elements in sequence"});var Pe=V(9841),pe=V(7272),ke=V(9751),ae=V(8421);function we(v){return new ke.y(b=>{(0,ae.Xf)(v()).subscribe(b)})}var xe=V(9635),vt=V(2843),Ue=V(515),tt=V(727),Ae=V(4482),lt=V(5403);function Xe(){return(0,Ae.e)((v,b)=>{let g=null;v._refCount++;const E=(0,lt.x)(b,void 0,void 0,void 0,()=>{if(!v||v._refCount<=0||0<--v._refCount)return void(g=null);const P=v._connection,U=g;g=null,P&&(!U||P===U)&&P.unsubscribe(),b.unsubscribe()});v.subscribe(E),E.closed||(g=v.connect())})}class Lt extends ke.y{constructor(b,g){super(),this.source=b,this.subjectFactory=g,this._subject=null,this._refCount=0,this._connection=null,(0,Ae.A)(b)&&(this.lift=b.lift)}_subscribe(b){return this.getSubject().subscribe(b)}getSubject(){const b=this._subject;return(!b||b.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:b}=this;this._subject=this._connection=null,b?.unsubscribe()}connect(){let b=this._connection;if(!b){b=this._connection=new tt.w0;const g=this.getSubject();b.add(this.source.subscribe((0,lt.x)(g,void 0,()=>{this._teardown(),g.complete()},E=>{this._teardown(),g.error(E)},()=>this._teardown()))),b.closed&&(this._connection=null,b=tt.w0.EMPTY)}return b}refCount(){return Xe()(this)}}var Mt=V(7579),me=V(6895),ce=V(4004),Ie=V(3900),mt=V(5698),_t=V(8675),ut=V(9300),pt=V(5577);function At(v){return(0,Ae.e)((b,g)=>{let E=!1;b.subscribe((0,lt.x)(g,P=>{E=!0,g.next(P)},()=>{E||g.next(v),g.complete()}))})}function at(v=Kt){return(0,Ae.e)((b,g)=>{let E=!1;b.subscribe((0,lt.x)(g,P=>{E=!0,g.next(P)},()=>E?g.complete():g.error(v())))})}function Kt(){return new Oe}var st=V(4671);function Jt(v,b){const g=arguments.length>=2;return E=>E.pipe(v?(0,ut.h)((P,U)=>v(P,U,E)):st.y,(0,mt.q)(1),g?At(b):at(()=>new Oe))}var hn=V(4351),tn=V(8505),Yn=V(262);function Fe(v,b){return(0,Ae.e)(function He(v,b,g,E,P){return(U,q)=>{let De=g,Qe=b,Rt=0;U.subscribe((0,lt.x)(q,Vt=>{const Fn=Rt++;Qe=De?v(Qe,Vt,Fn):(De=!0,Vt),E&&q.next(Qe)},P&&(()=>{De&&q.next(Qe),q.complete()})))}}(v,b,arguments.length>=2,!0))}function ze(v){return v<=0?()=>Ue.E:(0,Ae.e)((b,g)=>{let E=[];b.subscribe((0,lt.x)(g,P=>{E.push(P),v{for(const P of E)g.next(P);g.complete()},void 0,()=>{E=null}))})}function fe(v,b){const g=arguments.length>=2;return E=>E.pipe(v?(0,ut.h)((P,U)=>v(P,U,E)):st.y,ze(1),g?At(b):at(()=>new Oe))}var te=V(9718),Te=V(8746),Ge=V(8189),qt=V(1481);const et="primary",fn=Symbol("RouteTitle");class gt{constructor(b){this.params=b||{}}has(b){return Object.prototype.hasOwnProperty.call(this.params,b)}get(b){if(this.has(b)){const g=this.params[b];return Array.isArray(g)?g[0]:g}return null}getAll(b){if(this.has(b)){const g=this.params[b];return Array.isArray(g)?g:[g]}return[]}get keys(){return Object.keys(this.params)}}function Qt(v){return new gt(v)}function jt(v,b,g){const E=g.path.split("/");if(E.length>v.length||"full"===g.pathMatch&&(b.hasChildren()||E.lengthE[U]===P)}return v===b}function J(v){return Array.prototype.concat.apply([],v)}function oe(v){return v.length>0?v[v.length-1]:null}function Ce(v,b){for(const g in v)v.hasOwnProperty(g)&&b(v[g],g)}function Ke(v){return(0,r.CqO)(v)?v:(0,r.QGY)(v)?(0,L.D)(Promise.resolve(v)):(0,se.of)(v)}const wt=!1,Je={exact:function dt(v,b,g){if(!Xn(v.segments,b.segments)||!In(v.segments,b.segments,g)||v.numberOfChildren!==b.numberOfChildren)return!1;for(const E in b.children)if(!v.children[E]||!dt(v.children[E],b.children[E],g))return!1;return!0},subset:zt},Ht={exact:function Ot(v,b){return Xt(v,b)},subset:function Se(v,b){return Object.keys(b).length<=Object.keys(v).length&&Object.keys(b).every(g=>Me(v[g],b[g]))},ignored:()=>!0};function Pt(v,b,g){return Je[g.paths](v.root,b.root,g.matrixParams)&&Ht[g.queryParams](v.queryParams,b.queryParams)&&!("exact"===g.fragment&&v.fragment!==b.fragment)}function zt(v,b,g){return Pn(v,b,b.segments,g)}function Pn(v,b,g,E){if(v.segments.length>g.length){const P=v.segments.slice(0,g.length);return!(!Xn(P,g)||b.hasChildren()||!In(P,g,E))}if(v.segments.length===g.length){if(!Xn(v.segments,g)||!In(v.segments,g,E))return!1;for(const P in b.children)if(!v.children[P]||!zt(v.children[P],b.children[P],E))return!1;return!0}{const P=g.slice(0,v.segments.length),U=g.slice(v.segments.length);return!!(Xn(v.segments,P)&&In(v.segments,P,E)&&v.children[et])&&Pn(v.children[et],b,U,E)}}function In(v,b,g){return b.every((E,P)=>Ht[g](v[P].parameters,E.parameters))}class Dt{constructor(b=new ft([],{}),g={},E=null){this.root=b,this.queryParams=g,this.fragment=E}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qt(this.queryParams)),this._queryParamMap}toString(){return Sr.serialize(this)}}class ft{constructor(b,g){this.segments=b,this.children=g,this.parent=null,Ce(g,(E,P)=>E.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hn(this)}}class Sn{constructor(b,g){this.path=b,this.parameters=g}get parameterMap(){return this._parameterMap||(this._parameterMap=Qt(this.parameters)),this._parameterMap}toString(){return pn(this)}}function Xn(v,b){return v.length===b.length&&v.every((g,E)=>g.path===b[E].path)}let or=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:function(){return new qn},providedIn:"root"}),v})();class qn{parse(b){const g=new It(b);return new Dt(g.parseRootSegment(),g.parseQueryParams(),g.parseFragment())}serialize(b){const g=`/${qe(b.root,!0)}`,E=function vn(v){const b=Object.keys(v).map(g=>{const E=v[g];return Array.isArray(E)?E.map(P=>`${ye(g)}=${ye(P)}`).join("&"):`${ye(g)}=${ye(E)}`}).filter(g=>!!g);return b.length?`?${b.join("&")}`:""}(b.queryParams);return`${g}${E}${"string"==typeof b.fragment?`#${function nt(v){return encodeURI(v)}(b.fragment)}`:""}`}}const Sr=new qn;function Hn(v){return v.segments.map(b=>pn(b)).join("/")}function qe(v,b){if(!v.hasChildren())return Hn(v);if(b){const g=v.children[et]?qe(v.children[et],!1):"",E=[];return Ce(v.children,(P,U)=>{U!==et&&E.push(`${U}:${qe(P,!1)}`)}),E.length>0?`${g}(${E.join("//")})`:g}{const g=function an(v,b){let g=[];return Ce(v.children,(E,P)=>{P===et&&(g=g.concat(b(E,P)))}),Ce(v.children,(E,P)=>{P!==et&&(g=g.concat(b(E,P)))}),g}(v,(E,P)=>P===et?[qe(v.children[et],!1)]:[`${P}:${qe(E,!1)}`]);return 1===Object.keys(v.children).length&&null!=v.children[et]?`${Hn(v)}/${g[0]}`:`${Hn(v)}/(${g.join("//")})`}}function ie(v){return encodeURIComponent(v).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ye(v){return ie(v).replace(/%3B/gi,";")}function Ze(v){return ie(v).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Et(v){return decodeURIComponent(v)}function Wt(v){return Et(v.replace(/\+/g,"%20"))}function pn(v){return`${Ze(v.path)}${function rn(v){return Object.keys(v).map(b=>`;${Ze(b)}=${Ze(v[b])}`).join("")}(v.parameters)}`}const Mn=/^[^\/()?;=#]+/;function be(v){const b=v.match(Mn);return b?b[0]:""}const he=/^[^=?&#]+/,X=/^[^&#]+/;class It{constructor(b){this.url=b,this.remaining=b}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ft([],{}):new ft([],this.parseChildren())}parseQueryParams(){const b={};if(this.consumeOptional("?"))do{this.parseQueryParam(b)}while(this.consumeOptional("&"));return b}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const b=[];for(this.peekStartsWith("(")||b.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),b.push(this.parseSegment());let g={};this.peekStartsWith("/(")&&(this.capture("/"),g=this.parseParens(!0));let E={};return this.peekStartsWith("(")&&(E=this.parseParens(!1)),(b.length>0||Object.keys(g).length>0)&&(E[et]=new ft(b,g)),E}parseSegment(){const b=be(this.remaining);if(""===b&&this.peekStartsWith(";"))throw new r.vHH(4009,wt);return this.capture(b),new Sn(Et(b),this.parseMatrixParams())}parseMatrixParams(){const b={};for(;this.consumeOptional(";");)this.parseParam(b);return b}parseParam(b){const g=be(this.remaining);if(!g)return;this.capture(g);let E="";if(this.consumeOptional("=")){const P=be(this.remaining);P&&(E=P,this.capture(E))}b[Et(g)]=Et(E)}parseQueryParam(b){const g=function Y(v){const b=v.match(he);return b?b[0]:""}(this.remaining);if(!g)return;this.capture(g);let E="";if(this.consumeOptional("=")){const q=function We(v){const b=v.match(X);return b?b[0]:""}(this.remaining);q&&(E=q,this.capture(E))}const P=Wt(g),U=Wt(E);if(b.hasOwnProperty(P)){let q=b[P];Array.isArray(q)||(q=[q],b[P]=q),q.push(U)}else b[P]=U}parseParens(b){const g={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const E=be(this.remaining),P=this.remaining[E.length];if("/"!==P&&")"!==P&&";"!==P)throw new r.vHH(4010,wt);let U;E.indexOf(":")>-1?(U=E.slice(0,E.indexOf(":")),this.capture(U),this.capture(":")):b&&(U=et);const q=this.parseChildren();g[U]=1===Object.keys(q).length?q[et]:new ft([],q),this.consumeOptional("//")}return g}peekStartsWith(b){return this.remaining.startsWith(b)}consumeOptional(b){return!!this.peekStartsWith(b)&&(this.remaining=this.remaining.substring(b.length),!0)}capture(b){if(!this.consumeOptional(b))throw new r.vHH(4011,wt)}}function xt(v){return v.segments.length>0?new ft([],{[et]:v}):v}function en(v){const b={};for(const E of Object.keys(v.children)){const U=en(v.children[E]);(U.segments.length>0||U.hasChildren())&&(b[E]=U)}return function on(v){if(1===v.numberOfChildren&&v.children[et]){const b=v.children[et];return new ft(v.segments.concat(b.segments),b.children)}return v}(new ft(v.segments,b))}function er(v){return v instanceof Dt}const pr=!1;function ri(v,b,g,E,P){if(0===g.length)return qr(b.root,b.root,b.root,E,P);const U=function I(v){if("string"==typeof v[0]&&1===v.length&&"/"===v[0])return new B(!0,0,v);let b=0,g=!1;const E=v.reduce((P,U,q)=>{if("object"==typeof U&&null!=U){if(U.outlets){const De={};return Ce(U.outlets,(Qe,Rt)=>{De[Rt]="string"==typeof Qe?Qe.split("/"):Qe}),[...P,{outlets:De}]}if(U.segmentPath)return[...P,U.segmentPath]}return"string"!=typeof U?[...P,U]:0===q?(U.split("/").forEach((De,Qe)=>{0==Qe&&"."===De||(0==Qe&&""===De?g=!0:".."===De?b++:""!=De&&P.push(De))}),P):[...P,U]},[]);return new B(g,b,E)}(g);return U.toRoot()?qr(b.root,b.root,new ft([],{}),E,P):function q(Qe){const Rt=function rt(v,b,g,E){if(v.isAbsolute)return new H(b.root,!0,0);if(-1===E)return new H(g,g===b.root,0);return function Bt(v,b,g){let E=v,P=b,U=g;for(;U>P;){if(U-=P,E=E.parent,!E)throw new r.vHH(4005,pr&&"Invalid number of '../'");P=E.segments.length}return new H(E,!1,P-U)}(g,E+(ci(v.commands[0])?0:1),v.numberOfDoubleDots)}(U,b,v.snapshot?._urlSegment,Qe),Vt=Rt.processChildren?dr(Rt.segmentGroup,Rt.index,U.commands):wn(Rt.segmentGroup,Rt.index,U.commands);return qr(b.root,Rt.segmentGroup,Vt,E,P)}(v.snapshot?._lastPathIndex)}function ci(v){return"object"==typeof v&&null!=v&&!v.outlets&&!v.segmentPath}function Yr(v){return"object"==typeof v&&null!=v&&v.outlets}function qr(v,b,g,E,P){let q,U={};E&&Ce(E,(Qe,Rt)=>{U[Rt]=Array.isArray(Qe)?Qe.map(Vt=>`${Vt}`):`${Qe}`}),q=v===b?g:K(v,b,g);const De=xt(en(q));return new Dt(De,U,P)}function K(v,b,g){const E={};return Ce(v.children,(P,U)=>{E[U]=P===b?g:K(P,b,g)}),new ft(v.segments,E)}class B{constructor(b,g,E){if(this.isAbsolute=b,this.numberOfDoubleDots=g,this.commands=E,b&&E.length>0&&ci(E[0]))throw new r.vHH(4003,pr&&"Root segment cannot have matrix parameters");const P=E.find(Yr);if(P&&P!==oe(E))throw new r.vHH(4004,pr&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class H{constructor(b,g,E){this.segmentGroup=b,this.processChildren=g,this.index=E}}function wn(v,b,g){if(v||(v=new ft([],{})),0===v.segments.length&&v.hasChildren())return dr(v,b,g);const E=function yr(v,b,g){let E=0,P=b;const U={match:!1,pathIndex:0,commandIndex:0};for(;P=g.length)return U;const q=v.segments[P],De=g[E];if(Yr(De))break;const Qe=`${De}`,Rt=E0&&void 0===Qe)break;if(Qe&&Rt&&"object"==typeof Rt&&void 0===Rt.outlets){if(!br(Qe,Rt,q))return U;E+=2}else{if(!br(Qe,{},q))return U;E++}P++}return{match:!0,pathIndex:P,commandIndex:E}}(v,b,g),P=g.slice(E.commandIndex);if(E.match&&E.pathIndex{"string"==typeof U&&(U=[U]),null!==U&&(P[q]=wn(v.children[q],b,U))}),Ce(v.children,(U,q)=>{void 0===E[q]&&(P[q]=U)}),new ft(v.segments,P)}}function Ft(v,b,g){const E=v.segments.slice(0,b);let P=0;for(;P{"string"==typeof g&&(g=[g]),null!==g&&(b[E]=Ft(new ft([],{}),0,g))}),b}function xn(v){const b={};return Ce(v,(g,E)=>b[E]=`${g}`),b}function br(v,b,g){return v==g.path&&Xt(b,g.parameters)}const di="imperative";class sr{constructor(b,g){this.id=b,this.url=g}}class Ni extends sr{constructor(b,g,E="imperative",P=null){super(b,g),this.type=0,this.navigationTrigger=E,this.restoredState=P}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ln extends sr{constructor(b,g,E){super(b,g),this.urlAfterRedirects=E,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ar extends sr{constructor(b,g,E,P){super(b,g),this.reason=E,this.code=P,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Kr extends sr{constructor(b,g,E,P){super(b,g),this.reason=E,this.code=P,this.type=16}}class _n extends sr{constructor(b,g,E,P){super(b,g),this.error=E,this.target=P,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Vi extends sr{constructor(b,g,E,P){super(b,g),this.urlAfterRedirects=E,this.state=P,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class rs extends sr{constructor(b,g,E,P){super(b,g),this.urlAfterRedirects=E,this.state=P,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class is extends sr{constructor(b,g,E,P,U){super(b,g),this.urlAfterRedirects=E,this.state=P,this.shouldActivate=U,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class bi extends sr{constructor(b,g,E,P){super(b,g),this.urlAfterRedirects=E,this.state=P,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ur extends sr{constructor(b,g,E,P){super(b,g),this.urlAfterRedirects=E,this.state=P,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Co{constructor(b){this.route=b,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class os{constructor(b){this.route=b,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Dr{constructor(b){this.snapshot=b,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ko{constructor(b){this.snapshot=b,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class co{constructor(b){this.snapshot=b,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jn{constructor(b){this.snapshot=b,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fo{constructor(b,g,E){this.routerEvent=b,this.position=g,this.anchor=E,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Zn=(()=>{class v{createUrlTree(g,E,P,U,q,De){return ri(g||E.root,P,U,q,De)}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac}),v})(),Hi=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:function(b){return Zn.\u0275fac(b)},providedIn:"root"}),v})();class cr{constructor(b){this._root=b}get root(){return this._root.value}parent(b){const g=this.pathFromRoot(b);return g.length>1?g[g.length-2]:null}children(b){const g=Lo(b,this._root);return g?g.children.map(E=>E.value):[]}firstChild(b){const g=Lo(b,this._root);return g&&g.children.length>0?g.children[0].value:null}siblings(b){const g=jr(b,this._root);return g.length<2?[]:g[g.length-2].children.map(P=>P.value).filter(P=>P!==b)}pathFromRoot(b){return jr(b,this._root).map(g=>g.value)}}function Lo(v,b){if(v===b.value)return b;for(const g of b.children){const E=Lo(v,g);if(E)return E}return null}function jr(v,b){if(v===b.value)return[b];for(const g of b.children){const E=jr(v,g);if(E.length)return E.unshift(b),E}return[]}class zn{constructor(b,g){this.value=b,this.children=g}toString(){return`TreeNode(${this.value})`}}function Oi(v){const b={};return v&&v.children.forEach(g=>b[g.value.outlet]=g),b}class Mr extends cr{constructor(b,g){super(b),this.snapshot=g,no(this,b)}toString(){return this.snapshot.toString()}}function to(v,b){const g=function Di(v,b){const q=new So([],{},{},"",{},et,b,null,v.root,-1,{});return new Bo("",new zn(q,[]))}(v,b),E=new de.X([new Sn("",{})]),P=new de.X({}),U=new de.X({}),q=new de.X({}),De=new de.X(""),Qe=new Ai(E,P,q,De,U,et,b,g.root);return Qe.snapshot=g.root,new Mr(new zn(Qe,[]),g)}class Ai{constructor(b,g,E,P,U,q,De,Qe){this.url=b,this.params=g,this.queryParams=E,this.fragment=P,this.data=U,this.outlet=q,this.component=De,this.title=this.data?.pipe((0,ce.U)(Rt=>Rt[fn]))??(0,se.of)(void 0),this._futureSnapshot=Qe}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,ce.U)(b=>Qt(b)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,ce.U)(b=>Qt(b)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ii(v,b="emptyOnly"){const g=v.pathFromRoot;let E=0;if("always"!==b)for(E=g.length-1;E>=1;){const P=g[E],U=g[E-1];if(P.routeConfig&&""===P.routeConfig.path)E--;else{if(U.component)break;E--}}return function Ri(v){return v.reduce((b,g)=>({params:{...b.params,...g.params},data:{...b.data,...g.data},resolve:{...g.data,...b.resolve,...g.routeConfig?.data,...g._resolvedData}}),{params:{},data:{},resolve:{}})}(g.slice(E))}class So{get title(){return this.data?.[fn]}constructor(b,g,E,P,U,q,De,Qe,Rt,Vt,Fn){this.url=b,this.params=g,this.queryParams=E,this.fragment=P,this.data=U,this.outlet=q,this.component=De,this.routeConfig=Qe,this._urlSegment=Rt,this._lastPathIndex=Vt,this._resolve=Fn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Qt(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Qt(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(E=>E.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Bo extends cr{constructor(b,g){super(g),this.url=b,no(this,g)}toString(){return Mo(this._root)}}function no(v,b){b.value._routerState=v,b.children.forEach(g=>no(v,g))}function Mo(v){const b=v.children.length>0?` { ${v.children.map(Mo).join(", ")} } `:"";return`${v.value}${b}`}function No(v){if(v.snapshot){const b=v.snapshot,g=v._futureSnapshot;v.snapshot=g,Xt(b.queryParams,g.queryParams)||v.queryParams.next(g.queryParams),b.fragment!==g.fragment&&v.fragment.next(g.fragment),Xt(b.params,g.params)||v.params.next(g.params),function Cn(v,b){if(v.length!==b.length)return!1;for(let g=0;gXt(g.parameters,b[E].parameters))}(v.url,b.url);return g&&!(!v.parent!=!b.parent)&&(!v.parent||Ui(v.parent,b.parent))}function Vo(v,b,g){if(g&&v.shouldReuseRoute(b.value,g.value.snapshot)){const E=g.value;E._futureSnapshot=b.value;const P=function ss(v,b,g){return b.children.map(E=>{for(const P of g.children)if(v.shouldReuseRoute(E.value,P.value.snapshot))return Vo(v,E,P);return Vo(v,E)})}(v,b,g);return new zn(E,P)}{if(v.shouldAttach(b.value)){const U=v.retrieve(b.value);if(null!==U){const q=U.route;return q.value._futureSnapshot=b.value,q.children=b.children.map(De=>Vo(v,De)),q}}const E=function Gs(v){return new Ai(new de.X(v.url),new de.X(v.params),new de.X(v.queryParams),new de.X(v.fragment),new de.X(v.data),v.outlet,v.component,v)}(b.value),P=b.children.map(U=>Vo(v,U));return new zn(E,P)}}const po="ngNavigationCancelingError";function as(v,b){const{redirectTo:g,navigationBehaviorOptions:E}=er(b)?{redirectTo:b,navigationBehaviorOptions:void 0}:b,P=Ds(!1,0,b);return P.url=g,P.navigationBehaviorOptions=E,P}function Ds(v,b,g){const E=new Error("NavigationCancelingError: "+(v||""));return E[po]=!0,E.cancellationCode=b,g&&(E.url=g),E}function Ho(v){return zs(v)&&er(v.url)}function zs(v){return v&&v[po]}class Dl{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Oo,this.attachRef=null}}let Oo=(()=>{class v{constructor(){this.contexts=new Map}onChildOutletCreated(g,E){const P=this.getOrCreateContext(g);P.outlet=E,this.contexts.set(g,P)}onChildOutletDestroyed(g){const E=this.getContext(g);E&&(E.outlet=null,E.attachRef=null)}onOutletDeactivated(){const g=this.contexts;return this.contexts=new Map,g}onOutletReAttached(g){this.contexts=g}getOrCreateContext(g){let E=this.getContext(g);return E||(E=new Dl,this.contexts.set(g,E)),E}getContext(g){return this.contexts.get(g)||null}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const ls=!1;let Pi=(()=>{class v{constructor(){this.activated=null,this._activatedRoute=null,this.name=et,this.activateEvents=new r.vpe,this.deactivateEvents=new r.vpe,this.attachEvents=new r.vpe,this.detachEvents=new r.vpe,this.parentContexts=(0,r.f3M)(Oo),this.location=(0,r.f3M)(r.s_b),this.changeDetector=(0,r.f3M)(r.sBO),this.environmentInjector=(0,r.f3M)(r.lqb)}ngOnChanges(g){if(g.name){const{firstChange:E,previousValue:P}=g.name;if(E)return;this.isTrackedInParentContexts(P)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(P)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(g){return this.parentContexts.getContext(g)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const g=this.parentContexts.getContext(this.name);g?.route&&(g.attachRef?this.attach(g.attachRef,g.route):this.activateWith(g.route,g.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new r.vHH(4012,ls);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new r.vHH(4012,ls);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new r.vHH(4012,ls);this.location.detach();const g=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(g.instance),g}attach(g,E){this.activated=g,this._activatedRoute=E,this.location.insert(g.hostView),this.attachEvents.emit(g.instance)}deactivate(){if(this.activated){const g=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(g)}}activateWith(g,E){if(this.isActivated)throw new r.vHH(4013,ls);this._activatedRoute=g;const P=this.location,q=g.snapshot.component,De=this.parentContexts.getOrCreateContext(this.name).children,Qe=new ws(g,De,P.injector);if(E&&function ji(v){return!!v.resolveComponentFactory}(E)){const Rt=E.resolveComponentFactory(q);this.activated=P.createComponent(Rt,P.length,Qe)}else this.activated=P.createComponent(q,{index:P.length,injector:Qe,environmentInjector:E??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=r.lG2({type:v,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[r.TTD]}),v})();class ws{constructor(b,g,E){this.route=b,this.childContexts=g,this.parent=E}get(b,g){return b===Ai?this.route:b===Oo?this.childContexts:this.parent.get(b,g)}}let go=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275cmp=r.Xpm({type:v,selectors:[["ng-component"]],standalone:!0,features:[r.jDz],decls:1,vars:0,template:function(g,E){1&g&&r._UZ(0,"router-outlet")},dependencies:[Pi],encapsulation:2}),v})();function ro(v,b){return v.providers&&!v._injector&&(v._injector=(0,r.MMx)(v.providers,b,`Route: ${v.path}`)),v._injector??b}function wi(v){const b=v.children&&v.children.map(wi),g=b?{...v,children:b}:{...v};return!g.component&&!g.loadComponent&&(b||g.loadChildren)&&g.outlet&&g.outlet!==et&&(g.component=go),g}function jn(v){return v.outlet||et}function $i(v,b){const g=v.filter(E=>jn(E)===b);return g.push(...v.filter(E=>jn(E)!==b)),g}function Un(v){if(!v)return null;if(v.routeConfig?._injector)return v.routeConfig._injector;for(let b=v.parent;b;b=b.parent){const g=b.routeConfig;if(g?._loadedInjector)return g._loadedInjector;if(g?._injector)return g._injector}return null}class vo{constructor(b,g,E,P){this.routeReuseStrategy=b,this.futureState=g,this.currState=E,this.forwardEvent=P}activate(b){const g=this.futureState._root,E=this.currState?this.currState._root:null;this.deactivateChildRoutes(g,E,b),No(this.futureState.root),this.activateChildRoutes(g,E,b)}deactivateChildRoutes(b,g,E){const P=Oi(g);b.children.forEach(U=>{const q=U.value.outlet;this.deactivateRoutes(U,P[q],E),delete P[q]}),Ce(P,(U,q)=>{this.deactivateRouteAndItsChildren(U,E)})}deactivateRoutes(b,g,E){const P=b.value,U=g?g.value:null;if(P===U)if(P.component){const q=E.getContext(P.outlet);q&&this.deactivateChildRoutes(b,g,q.children)}else this.deactivateChildRoutes(b,g,E);else U&&this.deactivateRouteAndItsChildren(g,E)}deactivateRouteAndItsChildren(b,g){b.value.component&&this.routeReuseStrategy.shouldDetach(b.value.snapshot)?this.detachAndStoreRouteSubtree(b,g):this.deactivateRouteAndOutlet(b,g)}detachAndStoreRouteSubtree(b,g){const E=g.getContext(b.value.outlet),P=E&&b.value.component?E.children:g,U=Oi(b);for(const q of Object.keys(U))this.deactivateRouteAndItsChildren(U[q],P);if(E&&E.outlet){const q=E.outlet.detach(),De=E.children.onOutletDeactivated();this.routeReuseStrategy.store(b.value.snapshot,{componentRef:q,route:b,contexts:De})}}deactivateRouteAndOutlet(b,g){const E=g.getContext(b.value.outlet),P=E&&b.value.component?E.children:g,U=Oi(b);for(const q of Object.keys(U))this.deactivateRouteAndItsChildren(U[q],P);E&&(E.outlet&&(E.outlet.deactivate(),E.children.onOutletDeactivated()),E.attachRef=null,E.resolver=null,E.route=null)}activateChildRoutes(b,g,E){const P=Oi(g);b.children.forEach(U=>{this.activateRoutes(U,P[U.value.outlet],E),this.forwardEvent(new Jn(U.value.snapshot))}),b.children.length&&this.forwardEvent(new ko(b.value.snapshot))}activateRoutes(b,g,E){const P=b.value,U=g?g.value:null;if(No(P),P===U)if(P.component){const q=E.getOrCreateContext(P.outlet);this.activateChildRoutes(b,g,q.children)}else this.activateChildRoutes(b,g,E);else if(P.component){const q=E.getOrCreateContext(P.outlet);if(this.routeReuseStrategy.shouldAttach(P.snapshot)){const De=this.routeReuseStrategy.retrieve(P.snapshot);this.routeReuseStrategy.store(P.snapshot,null),q.children.onOutletReAttached(De.contexts),q.attachRef=De.componentRef,q.route=De.route.value,q.outlet&&q.outlet.attach(De.componentRef,De.route.value),No(De.route.value),this.activateChildRoutes(b,null,q.children)}else{const De=Un(P.snapshot),Qe=De?.get(r._Vd)??null;q.attachRef=null,q.route=P,q.resolver=Qe,q.injector=De,q.outlet&&q.outlet.activateWith(P,q.injector),this.activateChildRoutes(b,null,q.children)}}else this.activateChildRoutes(b,null,E)}}class Ao{constructor(b){this.path=b,this.route=this.path[this.path.length-1]}}class ii{constructor(b,g){this.component=b,this.route=g}}function wr(v,b,g){const E=v._root;return jo(E,b?b._root:null,g,[E.value])}function fi(v,b){const g=Symbol(),E=b.get(v,g);return E===g?"function"!=typeof v||(0,r.Z0I)(v)?b.get(v):v:E}function jo(v,b,g,E,P={canDeactivateChecks:[],canActivateChecks:[]}){const U=Oi(b);return v.children.forEach(q=>{(function Gi(v,b,g,E,P={canDeactivateChecks:[],canActivateChecks:[]}){const U=v.value,q=b?b.value:null,De=g?g.getContext(v.value.outlet):null;if(q&&U.routeConfig===q.routeConfig){const Qe=function Es(v,b,g){if("function"==typeof g)return g(v,b);switch(g){case"pathParamsChange":return!Xn(v.url,b.url);case"pathParamsOrQueryParamsChange":return!Xn(v.url,b.url)||!Xt(v.queryParams,b.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ui(v,b)||!Xt(v.queryParams,b.queryParams);default:return!Ui(v,b)}}(q,U,U.routeConfig.runGuardsAndResolvers);Qe?P.canActivateChecks.push(new Ao(E)):(U.data=q.data,U._resolvedData=q._resolvedData),jo(v,b,U.component?De?De.children:null:g,E,P),Qe&&De&&De.outlet&&De.outlet.isActivated&&P.canDeactivateChecks.push(new ii(De.outlet.component,q))}else q&&Br(b,De,P),P.canActivateChecks.push(new Ao(E)),jo(v,null,U.component?De?De.children:null:g,E,P)})(q,U[q.value.outlet],g,E.concat([q.value]),P),delete U[q.value.outlet]}),Ce(U,(q,De)=>Br(q,g.getContext(De),P)),P}function Br(v,b,g){const E=Oi(v),P=v.value;Ce(E,(U,q)=>{Br(U,P.component?b?b.children.getContext(q):null:b,g)}),g.canDeactivateChecks.push(new ii(P.component&&b&&b.outlet&&b.outlet.isActivated?b.outlet.component:null,P))}function dn(v){return"function"==typeof v}function ne(v){return v instanceof Oe||"EmptyError"===v?.name}const ht=Symbol("INITIAL_VALUE");function Qn(){return(0,Ie.w)(v=>(0,Pe.a)(v.map(b=>b.pipe((0,mt.q)(1),(0,_t.O)(ht)))).pipe((0,ce.U)(b=>{for(const g of b)if(!0!==g){if(g===ht)return ht;if(!1===g||g instanceof Dt)return g}return!0}),(0,ut.h)(b=>b!==ht),(0,mt.q)(1)))}function us(v){return(0,xe.z)((0,tn.b)(b=>{if(er(b))throw as(0,b)}),(0,ce.U)(b=>!0===b))}const si={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function qs(v,b,g,E,P){const U=bo(v,b,g);return U.matched?function oi(v,b,g,E){const P=b.canMatch;if(!P||0===P.length)return(0,se.of)(!0);const U=P.map(q=>{const De=fi(q,v);return Ke(function A(v){return v&&dn(v.canMatch)}(De)?De.canMatch(b,g):v.runInContext(()=>De(b,g)))});return(0,se.of)(U).pipe(Qn(),us())}(E=ro(b,E),b,g).pipe((0,ce.U)(q=>!0===q?U:{...si})):(0,se.of)(U)}function bo(v,b,g){if(""===b.path)return"full"===b.pathMatch&&(v.hasChildren()||g.length>0)?{...si}:{matched:!0,consumedSegments:[],remainingSegments:g,parameters:{},positionalParamSegments:{}};const P=(b.matcher||jt)(g,v,b);if(!P)return{...si};const U={};Ce(P.posParams,(De,Qe)=>{U[Qe]=De.path});const q=P.consumed.length>0?{...U,...P.consumed[P.consumed.length-1].parameters}:U;return{matched:!0,consumedSegments:P.consumed,remainingSegments:g.slice(P.consumed.length),parameters:q,positionalParamSegments:P.posParams??{}}}function Zr(v,b,g,E){if(g.length>0&&function Ks(v,b,g){return g.some(E=>Go(v,b,E)&&jn(E)!==et)}(v,g,E)){const U=new ft(b,function oo(v,b,g,E){const P={};P[et]=E,E._sourceSegment=v,E._segmentIndexShift=b.length;for(const U of g)if(""===U.path&&jn(U)!==et){const q=new ft([],{});q._sourceSegment=v,q._segmentIndexShift=b.length,P[jn(U)]=q}return P}(v,b,E,new ft(g,v.children)));return U._sourceSegment=v,U._segmentIndexShift=b.length,{segmentGroup:U,slicedSegments:[]}}if(0===g.length&&function Do(v,b,g){return g.some(E=>Go(v,b,E))}(v,g,E)){const U=new ft(v.segments,function ja(v,b,g,E,P){const U={};for(const q of E)if(Go(v,g,q)&&!P[jn(q)]){const De=new ft([],{});De._sourceSegment=v,De._segmentIndexShift=b.length,U[jn(q)]=De}return{...P,...U}}(v,b,g,E,v.children));return U._sourceSegment=v,U._segmentIndexShift=b.length,{segmentGroup:U,slicedSegments:g}}const P=new ft(v.segments,v.children);return P._sourceSegment=v,P._segmentIndexShift=b.length,{segmentGroup:P,slicedSegments:g}}function Go(v,b,g){return(!(v.hasChildren()||b.length>0)||"full"!==g.pathMatch)&&""===g.path}function Js(v,b,g,E){return!!(jn(v)===E||E!==et&&Go(b,g,v))&&("**"===v.path||bo(b,v,g).matched)}function cs(v,b,g){return 0===b.length&&!v.children[g]}const ds=!1;class Zs{constructor(b){this.segmentGroup=b||null}}class Ss{constructor(b){this.urlTree=b}}function Wi(v){return(0,vt._)(new Zs(v))}function Qr(v){return(0,vt._)(new Ss(v))}class Qs{constructor(b,g,E,P,U){this.injector=b,this.configLoader=g,this.urlSerializer=E,this.urlTree=P,this.config=U,this.allowRedirects=!0}apply(){const b=Zr(this.urlTree.root,[],[],this.config).segmentGroup,g=new ft(b.segments,b.children);return this.expandSegmentGroup(this.injector,this.config,g,et).pipe((0,ce.U)(U=>this.createUrlTree(en(U),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Yn.K)(U=>{if(U instanceof Ss)return this.allowRedirects=!1,this.match(U.urlTree);throw U instanceof Zs?this.noMatchError(U):U}))}match(b){return this.expandSegmentGroup(this.injector,this.config,b.root,et).pipe((0,ce.U)(P=>this.createUrlTree(en(P),b.queryParams,b.fragment))).pipe((0,Yn.K)(P=>{throw P instanceof Zs?this.noMatchError(P):P}))}noMatchError(b){return new r.vHH(4002,ds)}createUrlTree(b,g,E){const P=xt(b);return new Dt(P,g,E)}expandSegmentGroup(b,g,E,P){return 0===E.segments.length&&E.hasChildren()?this.expandChildren(b,g,E).pipe((0,ce.U)(U=>new ft([],U))):this.expandSegment(b,E,g,E.segments,P,!0)}expandChildren(b,g,E){const P=[];for(const U of Object.keys(E.children))"primary"===U?P.unshift(U):P.push(U);return(0,L.D)(P).pipe((0,hn.b)(U=>{const q=E.children[U],De=$i(g,U);return this.expandSegmentGroup(b,De,q,U).pipe((0,ce.U)(Qe=>({segment:Qe,outlet:U})))}),Fe((U,q)=>(U[q.outlet]=q.segment,U),{}),fe())}expandSegment(b,g,E,P,U,q){return(0,L.D)(E).pipe((0,hn.b)(De=>this.expandSegmentAgainstRoute(b,g,E,De,P,U,q).pipe((0,Yn.K)(Rt=>{if(Rt instanceof Zs)return(0,se.of)(null);throw Rt}))),Jt(De=>!!De),(0,Yn.K)((De,Qe)=>{if(ne(De))return cs(g,P,U)?(0,se.of)(new ft([],{})):Wi(g);throw De}))}expandSegmentAgainstRoute(b,g,E,P,U,q,De){return Js(P,g,U,q)?void 0===P.redirectTo?this.matchSegmentAgainstRoute(b,g,P,U,q):De&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(b,g,E,P,U,q):Wi(g):Wi(g)}expandSegmentAgainstRouteUsingRedirect(b,g,E,P,U,q){return"**"===P.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(b,E,P,q):this.expandRegularSegmentAgainstRouteUsingRedirect(b,g,E,P,U,q)}expandWildCardWithParamsAgainstRouteUsingRedirect(b,g,E,P){const U=this.applyRedirectCommands([],E.redirectTo,{});return E.redirectTo.startsWith("/")?Qr(U):this.lineralizeSegments(E,U).pipe((0,pt.z)(q=>{const De=new ft(q,{});return this.expandSegment(b,De,g,q,P,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(b,g,E,P,U,q){const{matched:De,consumedSegments:Qe,remainingSegments:Rt,positionalParamSegments:Vt}=bo(g,P,U);if(!De)return Wi(g);const Fn=this.applyRedirectCommands(Qe,P.redirectTo,Vt);return P.redirectTo.startsWith("/")?Qr(Fn):this.lineralizeSegments(P,Fn).pipe((0,pt.z)($r=>this.expandSegment(b,g,E,$r.concat(Rt),q,!1)))}matchSegmentAgainstRoute(b,g,E,P,U){return"**"===E.path?(b=ro(E,b),E.loadChildren?(E._loadedRoutes?(0,se.of)({routes:E._loadedRoutes,injector:E._loadedInjector}):this.configLoader.loadChildren(b,E)).pipe((0,ce.U)(De=>(E._loadedRoutes=De.routes,E._loadedInjector=De.injector,new ft(P,{})))):(0,se.of)(new ft(P,{}))):qs(g,E,P,b).pipe((0,Ie.w)(({matched:q,consumedSegments:De,remainingSegments:Qe})=>q?this.getChildConfig(b=E._injector??b,E,P).pipe((0,pt.z)(Vt=>{const Fn=Vt.injector??b,$r=Vt.routes,{segmentGroup:Gr,slicedSegments:Ro}=Zr(g,De,Qe,$r),Ko=new ft(Gr.segments,Gr.children);if(0===Ro.length&&Ko.hasChildren())return this.expandChildren(Fn,$r,Ko).pipe((0,ce.U)(Ya=>new ft(De,Ya)));if(0===$r.length&&0===Ro.length)return(0,se.of)(new ft(De,{}));const so=jn(E)===U;return this.expandSegment(Fn,Ko,$r,Ro,so?et:U,!0).pipe((0,ce.U)(Is=>new ft(De.concat(Is.segments),Is.children)))})):Wi(g)))}getChildConfig(b,g,E){return g.children?(0,se.of)({routes:g.children,injector:b}):g.loadChildren?void 0!==g._loadedRoutes?(0,se.of)({routes:g._loadedRoutes,injector:g._loadedInjector}):function Ts(v,b,g,E){const P=b.canLoad;if(void 0===P||0===P.length)return(0,se.of)(!0);const U=P.map(q=>{const De=fi(q,v);return Ke(function Ua(v){return v&&dn(v.canLoad)}(De)?De.canLoad(b,g):v.runInContext(()=>De(b,g)))});return(0,se.of)(U).pipe(Qn(),us())}(b,g,E).pipe((0,pt.z)(P=>P?this.configLoader.loadChildren(b,g).pipe((0,tn.b)(U=>{g._loadedRoutes=U.routes,g._loadedInjector=U.injector})):function $a(v){return(0,vt._)(Ds(ds,3))}())):(0,se.of)({routes:[],injector:b})}lineralizeSegments(b,g){let E=[],P=g.root;for(;;){if(E=E.concat(P.segments),0===P.numberOfChildren)return(0,se.of)(E);if(P.numberOfChildren>1||!P.children[et])return b.redirectTo,(0,vt._)(new r.vHH(4e3,ds));P=P.children[et]}}applyRedirectCommands(b,g,E){return this.applyRedirectCreateUrlTree(g,this.urlSerializer.parse(g),b,E)}applyRedirectCreateUrlTree(b,g,E,P){const U=this.createSegmentGroup(b,g.root,E,P);return new Dt(U,this.createQueryParams(g.queryParams,this.urlTree.queryParams),g.fragment)}createQueryParams(b,g){const E={};return Ce(b,(P,U)=>{if("string"==typeof P&&P.startsWith(":")){const De=P.substring(1);E[U]=g[De]}else E[U]=P}),E}createSegmentGroup(b,g,E,P){const U=this.createSegments(b,g.segments,E,P);let q={};return Ce(g.children,(De,Qe)=>{q[Qe]=this.createSegmentGroup(b,De,E,P)}),new ft(U,q)}createSegments(b,g,E,P){return g.map(U=>U.path.startsWith(":")?this.findPosParam(b,U,P):this.findOrReturn(U,E))}findPosParam(b,g,E){const P=E[g.path.substring(1)];if(!P)throw new r.vHH(4001,ds);return P}findOrReturn(b,g){let E=0;for(const P of g){if(P.path===b.path)return g.splice(E),P;E++}return b}}class Xr{}class Ns{constructor(b,g,E,P,U,q,De){this.injector=b,this.rootComponentType=g,this.config=E,this.urlTree=P,this.url=U,this.paramsInheritanceStrategy=q,this.urlSerializer=De}recognize(){const b=Zr(this.urlTree.root,[],[],this.config.filter(g=>void 0===g.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,b,et).pipe((0,ce.U)(g=>{if(null===g)return null;const E=new So([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},et,this.rootComponentType,null,this.urlTree.root,-1,{}),P=new zn(E,g),U=new Bo(this.url,P);return this.inheritParamsAndData(U._root),U}))}inheritParamsAndData(b){const g=b.value,E=Ii(g,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data),b.children.forEach(P=>this.inheritParamsAndData(P))}processSegmentGroup(b,g,E,P){return 0===E.segments.length&&E.hasChildren()?this.processChildren(b,g,E):this.processSegment(b,g,E,E.segments,P)}processChildren(b,g,E){return(0,L.D)(Object.keys(E.children)).pipe((0,hn.b)(P=>{const U=E.children[P],q=$i(g,P);return this.processSegmentGroup(b,q,U,P)}),Fe((P,U)=>P&&U?(P.push(...U),P):null),function Re(v,b=!1){return(0,Ae.e)((g,E)=>{let P=0;g.subscribe((0,lt.x)(E,U=>{const q=v(U,P++);(q||b)&&E.next(U),!q&&E.complete()}))})}(P=>null!==P),At(null),fe(),(0,ce.U)(P=>{if(null===P)return null;const U=Ga(P);return function ei(v){v.sort((b,g)=>b.value.outlet===et?-1:g.value.outlet===et?1:b.value.outlet.localeCompare(g.value.outlet))}(U),U}))}processSegment(b,g,E,P,U){return(0,L.D)(g).pipe((0,hn.b)(q=>this.processSegmentAgainstRoute(q._injector??b,q,E,P,U)),Jt(q=>!!q),(0,Yn.K)(q=>{if(ne(q))return cs(E,P,U)?(0,se.of)([]):(0,se.of)(null);throw q}))}processSegmentAgainstRoute(b,g,E,P,U){if(g.redirectTo||!Js(g,E,P,U))return(0,se.of)(null);let q;if("**"===g.path){const De=P.length>0?oe(P).parameters:{},Qe=N(E)+P.length,Rt=new So(P,De,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,re(g),jn(g),g.component??g._loadedComponent??null,g,k(E),Qe,je(g));q=(0,se.of)({snapshot:Rt,consumedSegments:[],remainingSegments:[]})}else q=qs(E,g,P,b).pipe((0,ce.U)(({matched:De,consumedSegments:Qe,remainingSegments:Rt,parameters:Vt})=>{if(!De)return null;const Fn=N(E)+Qe.length;return{snapshot:new So(Qe,Vt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,re(g),jn(g),g.component??g._loadedComponent??null,g,k(E),Fn,je(g)),consumedSegments:Qe,remainingSegments:Rt}}));return q.pipe((0,Ie.w)(De=>{if(null===De)return(0,se.of)(null);const{snapshot:Qe,consumedSegments:Rt,remainingSegments:Vt}=De;b=g._injector??b;const Fn=g._loadedInjector??b,$r=function Ta(v){return v.children?v.children:v.loadChildren?v._loadedRoutes:[]}(g),{segmentGroup:Gr,slicedSegments:Ro}=Zr(E,Rt,Vt,$r.filter(so=>void 0===so.redirectTo));if(0===Ro.length&&Gr.hasChildren())return this.processChildren(Fn,$r,Gr).pipe((0,ce.U)(so=>null===so?null:[new zn(Qe,so)]));if(0===$r.length&&0===Ro.length)return(0,se.of)([new zn(Qe,[])]);const Ko=jn(g)===U;return this.processSegment(Fn,$r,Gr,Ro,Ko?et:U).pipe((0,ce.U)(so=>null===so?null:[new zn(Qe,so)]))}))}}function El(v){const b=v.value.routeConfig;return b&&""===b.path&&void 0===b.redirectTo}function Ga(v){const b=[],g=new Set;for(const E of v){if(!El(E)){b.push(E);continue}const P=b.find(U=>E.value.routeConfig===U.value.routeConfig);void 0!==P?(P.children.push(...E.children),g.add(P)):b.push(E)}for(const E of g){const P=Ga(E.children);b.push(new zn(E.value,P))}return b.filter(E=>!g.has(E))}function k(v){let b=v;for(;b._sourceSegment;)b=b._sourceSegment;return b}function N(v){let b=v,g=b._segmentIndexShift??0;for(;b._sourceSegment;)b=b._sourceSegment,g+=b._segmentIndexShift??0;return g-1}function re(v){return v.data||{}}function je(v){return v.resolve||{}}function Er(v){return"string"==typeof v.title||null===v.title}function ar(v){return(0,Ie.w)(b=>{const g=v(b);return g?(0,L.D)(g).pipe((0,ce.U)(()=>b)):(0,se.of)(b)})}const hi=new r.OlP("ROUTES");let Yi=(()=>{class v{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,r.f3M)(r.Sil)}loadComponent(g){if(this.componentLoaders.get(g))return this.componentLoaders.get(g);if(g._loadedComponent)return(0,se.of)(g._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(g);const E=Ke(g.loadComponent()).pipe((0,ce.U)(pi),(0,tn.b)(U=>{this.onLoadEndListener&&this.onLoadEndListener(g),g._loadedComponent=U}),(0,Te.x)(()=>{this.componentLoaders.delete(g)})),P=new Lt(E,()=>new Mt.x).pipe(Xe());return this.componentLoaders.set(g,P),P}loadChildren(g,E){if(this.childrenLoaders.get(E))return this.childrenLoaders.get(E);if(E._loadedRoutes)return(0,se.of)({routes:E._loadedRoutes,injector:E._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(E);const U=this.loadModuleFactoryOrRoutes(E.loadChildren).pipe((0,ce.U)(De=>{this.onLoadEndListener&&this.onLoadEndListener(E);let Qe,Rt,Vt=!1;Array.isArray(De)?Rt=De:(Qe=De.create(g).injector,Rt=J(Qe.get(hi,[],r.XFs.Self|r.XFs.Optional)));return{routes:Rt.map(wi),injector:Qe}}),(0,Te.x)(()=>{this.childrenLoaders.delete(E)})),q=new Lt(U,()=>new Mt.x).pipe(Xe());return this.childrenLoaders.set(E,q),q}loadModuleFactoryOrRoutes(g){return Ke(g()).pipe((0,ce.U)(pi),(0,pt.z)(E=>E instanceof r.YKP||Array.isArray(E)?(0,se.of)(E):(0,L.D)(this.compiler.compileModuleAsync(E))))}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function pi(v){return function wo(v){return v&&"object"==typeof v&&"default"in v}(v)?v.default:v}let Ei=(()=>{class v{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new Mt.x,this.configLoader=(0,r.f3M)(Yi),this.environmentInjector=(0,r.f3M)(r.lqb),this.urlSerializer=(0,r.f3M)(or),this.rootContexts=(0,r.f3M)(Oo),this.navigationId=0,this.afterPreactivation=()=>(0,se.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=P=>this.events.next(new os(P)),this.configLoader.onLoadStartListener=P=>this.events.next(new Co(P))}complete(){this.transitions?.complete()}handleNavigationRequest(g){const E=++this.navigationId;this.transitions?.next({...this.transitions.value,...g,id:E})}setupNavigations(g){return this.transitions=new de.X({id:0,targetPageId:0,currentUrlTree:g.currentUrlTree,currentRawUrl:g.currentUrlTree,extractedUrl:g.urlHandlingStrategy.extract(g.currentUrlTree),urlAfterRedirects:g.urlHandlingStrategy.extract(g.currentUrlTree),rawUrl:g.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:di,restoredState:null,currentSnapshot:g.routerState.snapshot,targetSnapshot:null,currentRouterState:g.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ut.h)(E=>0!==E.id),(0,ce.U)(E=>({...E,extractedUrl:g.urlHandlingStrategy.extract(E.rawUrl)})),(0,Ie.w)(E=>{let P=!1,U=!1;return(0,se.of)(E).pipe((0,tn.b)(q=>{this.currentNavigation={id:q.id,initialUrl:q.rawUrl,extractedUrl:q.extractedUrl,trigger:q.source,extras:q.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Ie.w)(q=>{const De=g.browserUrlTree.toString(),Qe=!g.navigated||q.extractedUrl.toString()!==De||De!==g.currentUrlTree.toString();if(!Qe&&"reload"!==(q.extras.onSameUrlNavigation??g.onSameUrlNavigation)){const Vt="";return this.events.next(new Kr(q.id,g.serializeUrl(E.rawUrl),Vt,0)),g.rawUrlTree=q.rawUrl,q.resolve(null),Ue.E}if(g.urlHandlingStrategy.shouldProcessUrl(q.rawUrl))return Eo(q.source)&&(g.browserUrlTree=q.extractedUrl),(0,se.of)(q).pipe((0,Ie.w)(Vt=>{const Fn=this.transitions?.getValue();return this.events.next(new Ni(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),Vt.source,Vt.restoredState)),Fn!==this.transitions?.getValue()?Ue.E:Promise.resolve(Vt)}),function Ea(v,b,g,E){return(0,Ie.w)(P=>function Ms(v,b,g,E,P){return new Qs(v,b,g,E,P).apply()}(v,b,g,P.extractedUrl,E).pipe((0,ce.U)(U=>({...P,urlAfterRedirects:U}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,g.config),(0,tn.b)(Vt=>{this.currentNavigation={...this.currentNavigation,finalUrl:Vt.urlAfterRedirects},E.urlAfterRedirects=Vt.urlAfterRedirects}),function it(v,b,g,E,P){return(0,pt.z)(U=>function fr(v,b,g,E,P,U,q="emptyOnly"){return new Ns(v,b,g,E,P,q,U).recognize().pipe((0,Ie.w)(De=>null===De?function Fi(v){return new ke.y(b=>b.error(v))}(new Xr):(0,se.of)(De)))}(v,b,g,U.urlAfterRedirects,E.serialize(U.urlAfterRedirects),E,P).pipe((0,ce.U)(q=>({...U,targetSnapshot:q}))))}(this.environmentInjector,this.rootComponentType,g.config,this.urlSerializer,g.paramsInheritanceStrategy),(0,tn.b)(Vt=>{if(E.targetSnapshot=Vt.targetSnapshot,"eager"===g.urlUpdateStrategy){if(!Vt.extras.skipLocationChange){const $r=g.urlHandlingStrategy.merge(Vt.urlAfterRedirects,Vt.rawUrl);g.setBrowserUrl($r,Vt)}g.browserUrlTree=Vt.urlAfterRedirects}const Fn=new Vi(Vt.id,this.urlSerializer.serialize(Vt.extractedUrl),this.urlSerializer.serialize(Vt.urlAfterRedirects),Vt.targetSnapshot);this.events.next(Fn)}));if(Qe&&g.urlHandlingStrategy.shouldProcessUrl(g.rawUrlTree)){const{id:Vt,extractedUrl:Fn,source:$r,restoredState:Gr,extras:Ro}=q,Ko=new Ni(Vt,this.urlSerializer.serialize(Fn),$r,Gr);this.events.next(Ko);const so=to(Fn,this.rootComponentType).snapshot;return E={...q,targetSnapshot:so,urlAfterRedirects:Fn,extras:{...Ro,skipLocationChange:!1,replaceUrl:!1}},(0,se.of)(E)}{const Vt="";return this.events.next(new Kr(q.id,g.serializeUrl(E.extractedUrl),Vt,1)),g.rawUrlTree=q.rawUrl,q.resolve(null),Ue.E}}),(0,tn.b)(q=>{const De=new rs(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot);this.events.next(De)}),(0,ce.U)(q=>E={...q,guards:wr(q.targetSnapshot,q.currentSnapshot,this.rootContexts)}),function Jr(v,b){return(0,pt.z)(g=>{const{targetSnapshot:E,currentSnapshot:P,guards:{canActivateChecks:U,canDeactivateChecks:q}}=g;return 0===q.length&&0===U.length?(0,se.of)({...g,guardsResult:!0}):function gr(v,b,g,E){return(0,L.D)(v).pipe((0,pt.z)(P=>function $o(v,b,g,E,P){const U=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!U||0===U.length)return(0,se.of)(!0);const q=U.map(De=>{const Qe=Un(b)??P,Rt=fi(De,Qe);return Ke(function R(v){return v&&dn(v.canDeactivate)}(Rt)?Rt.canDeactivate(v,b,g,E):Qe.runInContext(()=>Rt(v,b,g,E))).pipe(Jt())});return(0,se.of)(q).pipe(Qn())}(P.component,P.route,g,b,E)),Jt(P=>!0!==P,!0))}(q,E,P,v).pipe((0,pt.z)(De=>De&&function Cs(v){return"boolean"==typeof v}(De)?function yo(v,b,g,E){return(0,L.D)(b).pipe((0,hn.b)(P=>(0,pe.z)(function Ir(v,b){return null!==v&&b&&b(new Dr(v)),(0,se.of)(!0)}(P.route.parent,E),function zi(v,b){return null!==v&&b&&b(new co(v)),(0,se.of)(!0)}(P.route,E),function io(v,b,g){const E=b[b.length-1],U=b.slice(0,b.length-1).reverse().map(q=>function Ws(v){const b=v.routeConfig?v.routeConfig.canActivateChild:null;return b&&0!==b.length?{node:v,guards:b}:null}(q)).filter(q=>null!==q).map(q=>we(()=>{const De=q.guards.map(Qe=>{const Rt=Un(q.node)??g,Vt=fi(Qe,Rt);return Ke(function wa(v){return v&&dn(v.canActivateChild)}(Vt)?Vt.canActivateChild(E,v):Rt.runInContext(()=>Vt(E,v))).pipe(Jt())});return(0,se.of)(De).pipe(Qn())}));return(0,se.of)(U).pipe(Qn())}(v,P.path,g),function mr(v,b,g){const E=b.routeConfig?b.routeConfig.canActivate:null;if(!E||0===E.length)return(0,se.of)(!0);const P=E.map(U=>we(()=>{const q=Un(b)??g,De=fi(U,q);return Ke(function Ys(v){return v&&dn(v.canActivate)}(De)?De.canActivate(b,v):q.runInContext(()=>De(b,v))).pipe(Jt())}));return(0,se.of)(P).pipe(Qn())}(v,P.route,g))),Jt(P=>!0!==P,!0))}(E,U,v,b):(0,se.of)(De)),(0,ce.U)(De=>({...g,guardsResult:De})))})}(this.environmentInjector,q=>this.events.next(q)),(0,tn.b)(q=>{if(E.guardsResult=q.guardsResult,er(q.guardsResult))throw as(0,q.guardsResult);const De=new is(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(q.urlAfterRedirects),q.targetSnapshot,!!q.guardsResult);this.events.next(De)}),(0,ut.h)(q=>!!q.guardsResult||(g.restoreHistory(q),this.cancelNavigationTransition(q,"",3),!1)),ar(q=>{if(q.guards.canActivateChecks.length)return(0,se.of)(q).pipe((0,tn.b)(De=>{const Qe=new bi(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(Qe)}),(0,Ie.w)(De=>{let Qe=!1;return(0,se.of)(De).pipe(function Yt(v,b){return(0,pt.z)(g=>{const{targetSnapshot:E,guards:{canActivateChecks:P}}=g;if(!P.length)return(0,se.of)(g);let U=0;return(0,L.D)(P).pipe((0,hn.b)(q=>function yn(v,b,g,E){const P=v.routeConfig,U=v._resolve;return void 0!==P?.title&&!Er(P)&&(U[fn]=P.title),function tr(v,b,g,E){const P=function $n(v){return[...Object.keys(v),...Object.getOwnPropertySymbols(v)]}(v);if(0===P.length)return(0,se.of)({});const U={};return(0,L.D)(P).pipe((0,pt.z)(q=>function bn(v,b,g,E){const P=Un(b)??E,U=fi(v,P);return Ke(U.resolve?U.resolve(b,g):P.runInContext(()=>U(b,g)))}(v[q],b,g,E).pipe(Jt(),(0,tn.b)(De=>{U[q]=De}))),ze(1),(0,te.h)(U),(0,Yn.K)(q=>ne(q)?Ue.E:(0,vt._)(q)))}(U,v,b,E).pipe((0,ce.U)(q=>(v._resolvedData=q,v.data=Ii(v,g).resolve,P&&Er(P)&&(v.data[fn]=P.title),null)))}(q.route,E,v,b)),(0,tn.b)(()=>U++),ze(1),(0,pt.z)(q=>U===P.length?(0,se.of)(g):Ue.E))})}(g.paramsInheritanceStrategy,this.environmentInjector),(0,tn.b)({next:()=>Qe=!0,complete:()=>{Qe||(g.restoreHistory(De),this.cancelNavigationTransition(De,"",2))}}))}),(0,tn.b)(De=>{const Qe=new Ur(De.id,this.urlSerializer.serialize(De.extractedUrl),this.urlSerializer.serialize(De.urlAfterRedirects),De.targetSnapshot);this.events.next(Qe)}))}),ar(q=>{const De=Qe=>{const Rt=[];Qe.routeConfig?.loadComponent&&!Qe.routeConfig._loadedComponent&&Rt.push(this.configLoader.loadComponent(Qe.routeConfig).pipe((0,tn.b)(Vt=>{Qe.component=Vt}),(0,ce.U)(()=>{})));for(const Vt of Qe.children)Rt.push(...De(Vt));return Rt};return(0,Pe.a)(De(q.targetSnapshot.root)).pipe(At(),(0,mt.q)(1))}),ar(()=>this.afterPreactivation()),(0,ce.U)(q=>{const De=function $s(v,b,g){const E=Vo(v,b._root,g?g._root:void 0);return new Mr(E,b)}(g.routeReuseStrategy,q.targetSnapshot,q.currentRouterState);return E={...q,targetRouterState:De}}),(0,tn.b)(q=>{g.currentUrlTree=q.urlAfterRedirects,g.rawUrlTree=g.urlHandlingStrategy.merge(q.urlAfterRedirects,q.rawUrl),g.routerState=q.targetRouterState,"deferred"===g.urlUpdateStrategy&&(q.extras.skipLocationChange||g.setBrowserUrl(g.rawUrlTree,q),g.browserUrlTree=q.urlAfterRedirects)}),((v,b,g)=>(0,ce.U)(E=>(new vo(b,E.targetRouterState,E.currentRouterState,g).activate(v),E)))(this.rootContexts,g.routeReuseStrategy,q=>this.events.next(q)),(0,mt.q)(1),(0,tn.b)({next:q=>{P=!0,this.lastSuccessfulNavigation=this.currentNavigation,g.navigated=!0,this.events.next(new Ln(q.id,this.urlSerializer.serialize(q.extractedUrl),this.urlSerializer.serialize(g.currentUrlTree))),g.titleStrategy?.updateTitle(q.targetRouterState.snapshot),q.resolve(!0)},complete:()=>{P=!0}}),(0,Te.x)(()=>{P||U||this.cancelNavigationTransition(E,"",1),this.currentNavigation?.id===E.id&&(this.currentNavigation=null)}),(0,Yn.K)(q=>{if(U=!0,zs(q)){Ho(q)||(g.navigated=!0,g.restoreHistory(E,!0));const De=new Ar(E.id,this.urlSerializer.serialize(E.extractedUrl),q.message,q.cancellationCode);if(this.events.next(De),Ho(q)){const Qe=g.urlHandlingStrategy.merge(q.url,g.rawUrlTree),Rt={skipLocationChange:E.extras.skipLocationChange,replaceUrl:"eager"===g.urlUpdateStrategy||Eo(E.source)};g.scheduleNavigation(Qe,di,null,Rt,{resolve:E.resolve,reject:E.reject,promise:E.promise})}else E.resolve(!1)}else{g.restoreHistory(E,!0);const De=new _n(E.id,this.urlSerializer.serialize(E.extractedUrl),q,E.targetSnapshot??void 0);this.events.next(De);try{E.resolve(g.errorHandler(q))}catch(Qe){E.reject(Qe)}}return Ue.E}))}))}cancelNavigationTransition(g,E,P){const U=new Ar(g.id,this.urlSerializer.serialize(g.extractedUrl),E,P);this.events.next(U),g.resolve(!1)}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function Eo(v){return v!==di}let hs=(()=>{class v{buildTitle(g){let E,P=g.root;for(;void 0!==P;)E=this.getResolvedTitleForRoute(P)??E,P=P.children.find(U=>U.outlet===et);return E}getResolvedTitleForRoute(g){return g.data[fn]}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:function(){return(0,r.f3M)(zo)},providedIn:"root"}),v})(),zo=(()=>{class v extends hs{constructor(g){super(),this.title=g}updateTitle(g){const E=this.buildTitle(g);void 0!==E&&this.title.setTitle(E)}}return v.\u0275fac=function(g){return new(g||v)(r.LFG(qt.Dx))},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),ti=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:function(){return(0,r.f3M)(ps)},providedIn:"root"}),v})();class Xs{shouldDetach(b){return!1}store(b,g){}shouldAttach(b){return!1}retrieve(b){return null}shouldReuseRoute(b,g){return b.routeConfig===g.routeConfig}}let ps=(()=>{class v extends Xs{}return v.\u0275fac=function(){let b;return function(E){return(b||(b=r.n5z(v)))(E||v)}}(),v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const Cr=new r.OlP("",{providedIn:"root",factory:()=>({})});let Nn=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:function(){return(0,r.f3M)(nr)},providedIn:"root"}),v})(),nr=(()=>{class v{shouldProcessUrl(g){return!0}extract(g){return g}merge(g,E){return g}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();function ai(v){throw v}function ta(v,b,g){return b.parse("/")}const Sa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Cl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Rr=(()=>{class v{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,r.f3M)(r.c2e),this.isNgZoneEnabled=!1,this.options=(0,r.f3M)(Cr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ai,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||ta,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,r.f3M)(Nn),this.routeReuseStrategy=(0,r.f3M)(ti),this.urlCreationStrategy=(0,r.f3M)(Hi),this.titleStrategy=(0,r.f3M)(hs),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=J((0,r.f3M)(hi,{optional:!0})??[]),this.navigationTransitions=(0,r.f3M)(Ei),this.urlSerializer=(0,r.f3M)(or),this.location=(0,r.f3M)(me.Ye),this.isNgZoneEnabled=(0,r.f3M)(r.R0b)instanceof r.R0b&&r.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Dt,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=to(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(g=>{this.lastSuccessfulId=g.id,this.currentPageId=this.browserPageId??0},g=>{this.console.warn(`Unhandled Navigation Error: ${g}`)})}resetRootComponentType(g){this.routerState.root.component=g,this.navigationTransitions.rootComponentType=g}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const g=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),di,g)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(g=>{const E="popstate"===g.type?"popstate":"hashchange";"popstate"===E&&setTimeout(()=>{this.navigateToSyncWithBrowser(g.url,E,g.state)},0)}))}navigateToSyncWithBrowser(g,E,P){const U={replaceUrl:!0},q=P?.navigationId?P:null;if(P){const Qe={...P};delete Qe.navigationId,delete Qe.\u0275routerPageId,0!==Object.keys(Qe).length&&(U.state=Qe)}const De=this.parseUrl(g);this.scheduleNavigation(De,E,q,U)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(g){this.config=g.map(wi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(g,E={}){const{relativeTo:P,queryParams:U,fragment:q,queryParamsHandling:De,preserveFragment:Qe}=E,Rt=Qe?this.currentUrlTree.fragment:q;let Vt=null;switch(De){case"merge":Vt={...this.currentUrlTree.queryParams,...U};break;case"preserve":Vt=this.currentUrlTree.queryParams;break;default:Vt=U||null}return null!==Vt&&(Vt=this.removeEmptyProps(Vt)),this.urlCreationStrategy.createUrlTree(P,this.routerState,this.currentUrlTree,g,Vt,Rt??null)}navigateByUrl(g,E={skipLocationChange:!1}){const P=er(g)?g:this.parseUrl(g),U=this.urlHandlingStrategy.merge(P,this.rawUrlTree);return this.scheduleNavigation(U,di,null,E)}navigate(g,E={skipLocationChange:!1}){return function Tl(v){for(let b=0;b{const U=g[P];return null!=U&&(E[P]=U),E},{})}scheduleNavigation(g,E,P,U,q){if(this.disposed)return Promise.resolve(!1);let De,Qe,Rt,Vt;return q?(De=q.resolve,Qe=q.reject,Rt=q.promise):Rt=new Promise((Fn,$r)=>{De=Fn,Qe=$r}),Vt="computed"===this.canceledNavigationResolution?P&&P.\u0275routerPageId?P.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Vt,source:E,restoredState:P,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:g,extras:U,resolve:De,reject:Qe,promise:Rt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Rt.catch(Fn=>Promise.reject(Fn))}setBrowserUrl(g,E){const P=this.urlSerializer.serialize(g);if(this.location.isCurrentPathEqualTo(P)||E.extras.replaceUrl){const q={...E.extras.state,...this.generateNgRouterState(E.id,this.browserPageId)};this.location.replaceState(P,"",q)}else{const U={...E.extras.state,...this.generateNgRouterState(E.id,E.targetPageId)};this.location.go(P,"",U)}}restoreHistory(g,E=!1){if("computed"===this.canceledNavigationResolution){const U=this.currentPageId-(this.browserPageId??this.currentPageId);0!==U?this.location.historyGo(U):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===U&&(this.resetState(g),this.browserUrlTree=g.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(E&&this.resetState(g),this.resetUrlToCurrentUrlTree())}resetState(g){this.routerState=g.currentRouterState,this.currentUrlTree=g.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,g.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(g,E){return"computed"===this.canceledNavigationResolution?{navigationId:g,\u0275routerPageId:E}:{navigationId:g}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),gs=(()=>{class v{constructor(g,E,P,U,q,De){this.router=g,this.route=E,this.tabIndexAttribute=P,this.renderer=U,this.el=q,this.locationStrategy=De,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new Mt.x;const Qe=q.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Qe||"area"===Qe,this.isAnchorElement?this.subscription=g.events.subscribe(Rt=>{Rt instanceof Ln&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(g){this._preserveFragment=(0,r.D6c)(g)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(g){this._skipLocationChange=(0,r.D6c)(g)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(g){this._replaceUrl=(0,r.D6c)(g)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(g){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",g)}ngOnChanges(g){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(g){null!=g?(this.commands=Array.isArray(g)?g:[g],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(g,E,P,U,q){return!!(null===this.urlTree||this.isAnchorElement&&(0!==g||E||P||U||q||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const g=null===this.href?null:(0,r.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",g)}applyAttributeValue(g,E){const P=this.renderer,U=this.el.nativeElement;null!==E?P.setAttribute(U,g,E):P.removeAttribute(U,g)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return v.\u0275fac=function(g){return new(g||v)(r.Y36(Rr),r.Y36(Ai),r.$8M("tabindex"),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(me.S$))},v.\u0275dir=r.lG2({type:v,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(g,E){1&g&&r.NdJ("click",function(U){return E.onClick(U.button,U.ctrlKey,U.shiftKey,U.altKey,U.metaKey)}),2&g&&r.uIk("target",E.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[r.TTD]}),v})(),eu=(()=>{class v{get isActive(){return this._isActive}constructor(g,E,P,U,q){this.router=g,this.element=E,this.renderer=P,this.cdr=U,this.link=q,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new r.vpe,this.routerEventsSubscription=g.events.subscribe(De=>{De instanceof Ln&&this.update()})}ngAfterContentInit(){(0,se.of)(this.links.changes,(0,se.of)(null)).pipe((0,Ge.J)()).subscribe(g=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const g=[...this.links.toArray(),this.link].filter(E=>!!E).map(E=>E.onChanges);this.linkInputChangesSubscription=(0,L.D)(g).pipe((0,Ge.J)()).subscribe(E=>{this._isActive!==this.isLinkActive(this.router)(E)&&this.update()})}set routerLinkActive(g){const E=Array.isArray(g)?g:g.split(" ");this.classes=E.filter(P=>!!P)}ngOnChanges(g){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const g=this.hasActiveLinks();this._isActive!==g&&(this._isActive=g,this.cdr.markForCheck(),this.classes.forEach(E=>{g?this.renderer.addClass(this.element.nativeElement,E):this.renderer.removeClass(this.element.nativeElement,E)}),g&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(g))})}isLinkActive(g){const E=function Sl(v){return!!v.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return P=>!!P.urlTree&&g.isActive(P.urlTree,E)}hasActiveLinks(){const g=this.isLinkActive(this.router);return this.link&&g(this.link)||this.links.some(g)}}return v.\u0275fac=function(g){return new(g||v)(r.Y36(Rr),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.sBO),r.Y36(gs,8))},v.\u0275dir=r.lG2({type:v,selectors:[["","routerLinkActive",""]],contentQueries:function(g,E,P){if(1&g&&r.Suo(P,gs,5),2&g){let U;r.iGM(U=r.CRH())&&(E.links=U)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[r.TTD]}),v})();class tu{}let zr=(()=>{class v{constructor(g,E,P,U,q){this.router=g,this.injector=P,this.preloadingStrategy=U,this.loader=q}setUpPreloading(){this.subscription=this.router.events.pipe((0,ut.h)(g=>g instanceof Ln),(0,hn.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(g,E){const P=[];for(const U of E){U.providers&&!U._injector&&(U._injector=(0,r.MMx)(U.providers,g,`Route: ${U.path}`));const q=U._injector??g,De=U._loadedInjector??q;(U.loadChildren&&!U._loadedRoutes&&void 0===U.canLoad||U.loadComponent&&!U._loadedComponent)&&P.push(this.preloadConfig(q,U)),(U.children||U._loadedRoutes)&&P.push(this.processRoutes(De,U.children??U._loadedRoutes))}return(0,L.D)(P).pipe((0,Ge.J)())}preloadConfig(g,E){return this.preloadingStrategy.preload(E,()=>{let P;P=E.loadChildren&&void 0===E.canLoad?this.loader.loadChildren(g,E):(0,se.of)(null);const U=P.pipe((0,pt.z)(q=>null===q?(0,se.of)(void 0):(E._loadedRoutes=q.routes,E._loadedInjector=q.injector,this.processRoutes(q.injector??g,q.routes))));if(E.loadComponent&&!E._loadedComponent){const q=this.loader.loadComponent(E);return(0,L.D)([U,q]).pipe((0,Ge.J)())}return U})}}return v.\u0275fac=function(g){return new(g||v)(r.LFG(Rr),r.LFG(r.Sil),r.LFG(r.lqb),r.LFG(tu),r.LFG(Yi))},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})();const na=new r.OlP("");let ms=(()=>{class v{constructor(g,E,P,U,q={}){this.urlSerializer=g,this.transitions=E,this.viewportScroller=P,this.zone=U,this.options=q,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},q.scrollPositionRestoration=q.scrollPositionRestoration||"disabled",q.anchorScrolling=q.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(g=>{g instanceof Ni?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=g.navigationTrigger,this.restoredId=g.restoredState?g.restoredState.navigationId:0):g instanceof Ln&&(this.lastId=g.id,this.scheduleScrollEvent(g,this.urlSerializer.parse(g.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(g=>{g instanceof fo&&(g.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(g.position):g.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(g.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(g,E){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new fo(g,"popstate"===this.lastSource?this.store[this.restoredId]:null,E))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return v.\u0275fac=function(g){r.$Z()},v.\u0275prov=r.Yz7({token:v,factory:v.\u0275fac}),v})();var Ci=(()=>((Ci=Ci||{})[Ci.COMPLETE=0]="COMPLETE",Ci[Ci.FAILED=1]="FAILED",Ci[Ci.REDIRECTING=2]="REDIRECTING",Ci))();const rr=!1;function Io(v,b){return{\u0275kind:v,\u0275providers:b}}const ra=new r.OlP("",{providedIn:"root",factory:()=>!1});function Yo(){const v=(0,r.f3M)(r.zs3);return b=>{const g=v.get(r.z2F);if(b!==g.components[0])return;const E=v.get(Rr),P=v.get(Os);1===v.get(qo)&&E.initialNavigation(),v.get(ru,null,r.XFs.Optional)?.setUpPreloading(),v.get(na,null,r.XFs.Optional)?.init(),E.resetRootComponentType(g.componentTypes[0]),P.closed||(P.next(),P.complete(),P.unsubscribe())}}const Os=new r.OlP(rr?"bootstrap done indicator":"",{factory:()=>new Mt.x}),qo=new r.OlP(rr?"initial navigation":"",{providedIn:"root",factory:()=>1});function ia(){let v=[];return v=rr?[{provide:r.Xts,multi:!0,useFactory:()=>{const b=(0,r.f3M)(Rr);return()=>b.events.subscribe(g=>{console.group?.(`Router Event: ${g.constructor.name}`),console.log(function To(v){if(!("type"in v))return`Unknown Router Event: ${v.constructor.name}`;switch(v.type){case 14:return`ActivationEnd(path: '${v.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${v.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${v.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${v.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state}, shouldActivate: ${v.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 2:return`NavigationCancel(id: ${v.id}, url: '${v.url}')`;case 16:return`NavigationSkipped(id: ${v.id}, url: '${v.url}')`;case 1:return`NavigationEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${v.id}, url: '${v.url}', error: ${v.error})`;case 0:return`NavigationStart(id: ${v.id}, url: '${v.url}')`;case 6:return`ResolveEnd(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 5:return`ResolveStart(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 10:return`RouteConfigLoadEnd(path: ${v.route.path})`;case 9:return`RouteConfigLoadStart(path: ${v.route.path})`;case 4:return`RoutesRecognized(id: ${v.id}, url: '${v.url}', urlAfterRedirects: '${v.urlAfterRedirects}', state: ${v.state})`;case 15:return`Scroll(anchor: '${v.anchor}', position: '${v.position?`${v.position[0]}, ${v.position[1]}`:null}')`}}(g)),console.log(g),console.groupEnd?.()})}}]:[],Io(1,v)}const ru=new r.OlP(rr?"router preloader":"");function Du(v){return Io(0,[{provide:ru,useExisting:zr},{provide:tu,useExisting:v}])}const Al=!1,Eu=new r.OlP(Al?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),oc=[me.Ye,{provide:or,useClass:qn},Rr,Oo,{provide:Ai,useFactory:function Ma(v){return v.routerState.root},deps:[Rr]},Yi,Al?{provide:ra,useValue:!0}:[]];function sc(){return new r.PXZ("Router",Rr)}let oa=(()=>{class v{constructor(g){}static forRoot(g,E){return{ngModule:v,providers:[oc,Al&&E?.enableTracing?ia().\u0275providers:[],{provide:hi,multi:!0,useValue:g},{provide:Eu,useFactory:sa,deps:[[Rr,new r.FiY,new r.tp0]]},{provide:Cr,useValue:E||{}},E?.useHash?{provide:me.S$,useClass:me.Do}:{provide:me.S$,useClass:me.b0},{provide:na,useFactory:()=>{const v=(0,r.f3M)(me.EM),b=(0,r.f3M)(r.R0b),g=(0,r.f3M)(Cr),E=(0,r.f3M)(Ei),P=(0,r.f3M)(or);return g.scrollOffset&&v.setOffset(g.scrollOffset),new ms(P,E,v,b,g)}},E?.preloadingStrategy?Du(E.preloadingStrategy).\u0275providers:[],{provide:r.PXZ,multi:!0,useFactory:sc},E?.initialNavigation?Oa(E):[],[{provide:iu,useFactory:Yo},{provide:r.tb,multi:!0,useExisting:iu}]]}}static forChild(g){return{ngModule:v,providers:[{provide:hi,multi:!0,useValue:g}]}}}return v.\u0275fac=function(g){return new(g||v)(r.LFG(Eu,8))},v.\u0275mod=r.oAB({type:v}),v.\u0275inj=r.cJS({imports:[go]}),v})();function sa(v){if(Al&&v)throw new r.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Oa(v){return["disabled"===v.initialNavigation?Io(3,[{provide:r.ip1,multi:!0,useFactory:()=>{const b=(0,r.f3M)(Rr);return()=>{b.setUpLocationChangeListener()}}},{provide:qo,useValue:2}]).\u0275providers:[],"enabledBlocking"===v.initialNavigation?Io(2,[{provide:qo,useValue:0},{provide:r.ip1,multi:!0,deps:[r.zs3],useFactory:b=>{const g=b.get(me.V_,Promise.resolve());return()=>g.then(()=>new Promise(E=>{const P=b.get(Rr),U=b.get(Os);(function _s(v,b){v.events.pipe((0,ut.h)(g=>g instanceof Ln||g instanceof Ar||g instanceof _n||g instanceof Kr),(0,ce.U)(g=>g instanceof Ln||g instanceof Kr?Ci.COMPLETE:g instanceof Ar&&(0===g.code||1===g.code)?Ci.REDIRECTING:Ci.FAILED),(0,ut.h)(g=>g!==Ci.REDIRECTING),(0,mt.q)(1)).subscribe(()=>{b()})})(P,()=>{E(!0)}),b.get(Ei).afterPreactivation=()=>(E(!0),U.closed?(0,se.of)(void 0):U),P.initialNavigation()}))}}]).\u0275providers:[]]}const iu=new r.OlP(Al?"Router Initializer":"")},3218:(kt,$e,V)=>{"use strict";V.d($e,{Lu:()=>Ki,FF:()=>Tc,NM:()=>Cc,IJ:()=>Rd});var r=V(1571),L=V(9751),se=V(515),de=V(9646),ve=V(7579),Oe=V(8421),Pe=V(5577),pe=V(1144),ke=V(576),ae=V(3268);const we=["addListener","removeListener"],xe=["addEventListener","removeEventListener"],vt=["on","off"];function Ue(a,p,i,d){if((0,ke.m)(i)&&(d=i,i=void 0),d)return Ue(a,p,i).pipe((0,ae.Z)(d));const[y,O]=function Xe(a){return(0,ke.m)(a.addEventListener)&&(0,ke.m)(a.removeEventListener)}(a)?xe.map(Z=>ue=>a[Z](p,ue,i)):function Ae(a){return(0,ke.m)(a.addListener)&&(0,ke.m)(a.removeListener)}(a)?we.map(tt(a,p)):function lt(a){return(0,ke.m)(a.on)&&(0,ke.m)(a.off)}(a)?vt.map(tt(a,p)):[];if(!y&&(0,pe.z)(a))return(0,Pe.z)(Z=>Ue(Z,p,i))((0,Oe.Xf)(a));if(!y)throw new TypeError("Invalid event target");return new L.y(Z=>{const ue=(..._e)=>Z.next(1<_e.length?_e:_e[0]);return y(ue),()=>O(ue)})}function tt(a,p){return i=>d=>a[i](p,d)}var Lt=V(727);class Mt extends Lt.w0{constructor(p,i){super()}schedule(p,i=0){return this}}const me={setInterval(a,p,...i){const{delegate:d}=me;return d?.setInterval?d.setInterval(a,p,...i):setInterval(a,p,...i)},clearInterval(a){const{delegate:p}=me;return(p?.clearInterval||clearInterval)(a)},delegate:void 0};var ce=V(8737);const mt={now:()=>(mt.delegate||Date).now(),delegate:void 0};class _t{constructor(p,i=_t.now){this.schedulerActionCtor=p,this.now=i}schedule(p,i=0,d){return new this.schedulerActionCtor(this,p).schedule(d,i)}}_t.now=mt.now;const At=new class ut extends _t{constructor(p,i=_t.now){super(p,i),this.actions=[],this._active=!1}flush(p){const{actions:i}=this;if(this._active)return void i.push(p);let d;this._active=!0;do{if(d=p.execute(p.state,p.delay))break}while(p=i.shift());if(this._active=!1,d){for(;p=i.shift();)p.unsubscribe();throw d}}}(class Ie extends Mt{constructor(p,i){super(p,i),this.scheduler=p,this.work=i,this.pending=!1}schedule(p,i=0){var d;if(this.closed)return this;this.state=p;const y=this.id,O=this.scheduler;return null!=y&&(this.id=this.recycleAsyncId(O,y,i)),this.pending=!0,this.delay=i,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(O,this.id,i),this}requestAsyncId(p,i,d=0){return me.setInterval(p.flush.bind(p,this),d)}recycleAsyncId(p,i,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return i;null!=i&&me.clearInterval(i)}execute(p,i){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(p,i);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(p,i){let y,d=!1;try{this.work(p)}catch(O){d=!0,y=O||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),y}unsubscribe(){if(!this.closed){const{id:p,scheduler:i}=this,{actions:d}=i;this.work=this.state=this.scheduler=null,this.pending=!1,(0,ce.P)(d,this),null!=p&&(this.id=this.recycleAsyncId(i,p,null)),this.delay=null,super.unsubscribe()}}});var at=V(3532);function st(a=0,p,i=At){let d=-1;return null!=p&&((0,at.K)(p)?i=p:d=p),new L.y(y=>{let O=function Kt(a){return a instanceof Date&&!isNaN(a)}(a)?+a-i.now():a;O<0&&(O=0);let Z=0;return i.schedule(function(){y.closed||(y.next(Z++),0<=d?this.schedule(void 0,d):y.complete())},O)})}const{isArray:Jt}=Array;function hn(a){return 1===a.length&&Jt(a[0])?a[0]:a}var tn=V(5403);var Fe=V(1135),ze=V(9841),fe=V(5032);const Re=new L.y(fe.Z);var Te=V(3269);function Ge(...a){const p=(0,Te.jO)(a),i=hn(a);return i.length?new L.y(d=>{let y=i.map(()=>[]),O=i.map(()=>!1);d.add(()=>{y=O=null});for(let Z=0;!d.closed&&Z{if(y[Z].push(ue),y.every(_e=>_e.length)){const _e=y.map(Be=>Be.shift());d.next(p?p(..._e):_e),y.some((Be,Ye)=>!Be.length&&O[Ye])&&d.complete()}},()=>{O[Z]=!0,!y[Z].length&&d.complete()}));return()=>{y=O=null}}):se.E}var qt=V(6451),et=V(7272),gt=V(2722),Qt=V(9300),jt=V(5698),Cn=V(4004),Xt=V(8675),Me=V(4671),J=V(4482);function oe(a,p=Me.y){return a=a??Ne,(0,J.e)((i,d)=>{let y,O=!0;i.subscribe((0,tn.x)(d,Z=>{const ue=p(Z);(O||!a(y,ue))&&(O=!1,y=ue,d.next(Z))}))})}function Ne(a,p){return a===p}var Ce=V(3900),Ke=V(8505);function wt(...a){const p=(0,Te.jO)(a);return(0,J.e)((i,d)=>{const y=a.length,O=new Array(y);let Z=a.map(()=>!1),ue=!1;for(let _e=0;_e{O[_e]=Be,!ue&&!Z[_e]&&(Z[_e]=!0,(ue=Z.every(Me.y))&&(Z=null))},fe.Z));i.subscribe((0,tn.x)(d,_e=>{if(ue){const Be=[_e,...O];d.next(p?p(...Be):Be)}}))})}V(9718);var Se=V(6895),zt=V(433);function ji(a,p){}function go(a,p){if(1&a&&(r.TgZ(0,"button",3),r._uU(1),r.YNc(2,ji,0,0,"ng-template",4),r.qZA()),2&a){const i=p.$implicit;r.Q6J("ngbPanelToggle",i),r.xp6(1),r.hij(" ",i.title," "),r.xp6(1),r.Q6J("ngTemplateOutlet",null==i.titleTpl?null:i.titleTpl.templateRef)}}function ro(a,p){}function wl(a,p){}function Uo(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"div",8),r.NdJ("ngbRef",function(y){r.CHM(i);const O=r.oxw().$implicit;return r.KtG(O.panelDiv=y)}),r.TgZ(1,"div",9),r.YNc(2,wl,0,0,"ng-template",4),r.qZA()()}if(2&a){const i=r.oxw().$implicit;r.s9C("id",i.id),r.uIk("aria-labelledby",i.id+"-header"),r.xp6(2),r.Q6J("ngTemplateOutlet",(null==i.contentTpl?null:i.contentTpl.templateRef)||null)}}Math,Math,Math;const ba=function(a,p){return{$implicit:a,opened:p}};function Da(a,p){if(1&a&&(r.TgZ(0,"div")(1,"div",5),r.YNc(2,ro,0,0,"ng-template",6),r.qZA(),r.YNc(3,Uo,3,3,"div",7),r.qZA()),2&a){const i=p.$implicit,d=r.oxw(),y=r.MAs(1);r.Tol("accordion-item "+(i.cardClass||"")),r.xp6(1),r.Tol("accordion-header "+(i.type?"bg-"+i.type:d.type?"bg-"+d.type:"")),r.MGl("id","",i.id,"-header"),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.headerTpl?null:i.headerTpl.templateRef)||y)("ngTemplateOutletContext",r.WLB(8,ba,i,i.isOpen)),r.xp6(1),r.Q6J("ngIf",!d.destroyOnHide||i.isOpen||i.transitionRunning)}}function xi(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",function(){r.CHM(i);const y=r.oxw();return r.KtG(y.close())}),r.qZA()}}const mo=["*"];function Nr(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",function(){const O=r.CHM(i).$implicit,Z=r.oxw();return Z.focus(),r.KtG(Z.select(O.id,Z.NgbSlideEventSource.INDICATOR))}),r.qZA()}if(2&a){const i=p.$implicit,d=r.oxw();r.ekj("active",i.id===d.activeId),r.uIk("aria-labelledby","slide-"+i.id)("aria-controls","slide-"+i.id)("aria-selected",i.id===d.activeId)}}function _o(a,p){}function wi(a,p){if(1&a&&(r.TgZ(0,"div",7)(1,"span",8),r.SDv(2,9),r.qZA(),r.YNc(3,_o,0,0,"ng-template",10),r.qZA()),2&a){const i=p.$implicit,d=p.index,y=p.count;r.Q6J("id","slide-"+i.id),r.xp6(2),r.pQV(d+1)(y),r.QtT(2),r.xp6(1),r.Q6J("ngTemplateOutlet",i.tplRef)}}function jn(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"button",11),r.NdJ("click",function(){r.CHM(i);const y=r.oxw();return r.KtG(y.arrowLeft())}),r._UZ(1,"span",12),r.TgZ(2,"span",8),r.SDv(3,13),r.qZA()()}}function $i(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"button",14),r.NdJ("click",function(){r.CHM(i);const y=r.oxw();return r.KtG(y.arrowRight())}),r._UZ(1,"span",15),r.TgZ(2,"span",8),r.SDv(3,16),r.qZA()()}}const Un=["ngbDatepickerDayView",""],Lr=["month"],vo=["year"];function Ao(a,p){if(1&a&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&a){const i=p.$implicit,d=r.oxw();r.Q6J("value",i),r.uIk("aria-label",d.i18n.getMonthFullName(i,d.date.year)),r.xp6(1),r.Oqu(d.i18n.getMonthShortName(i,d.date.year))}}function ii(a,p){if(1&a&&(r.TgZ(0,"option",5),r._uU(1),r.qZA()),2&a){const i=p.$implicit,d=r.oxw();r.Q6J("value",i),r.xp6(1),r.Oqu(d.i18n.getYearNumerals(i))}}function wr(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"ngb-datepicker-navigation-select",7),r.NdJ("select",function(y){r.CHM(i);const O=r.oxw();return r.KtG(O.select.emit(y))}),r.qZA()}if(2&a){const i=r.oxw();r.Q6J("date",i.date)("disabled",i.disabled)("months",i.selectBoxes.months)("years",i.selectBoxes.years)}}function Ws(a,p){1&a&&r._UZ(0,"div",0)}function fi(a,p){1&a&&r._UZ(0,"div",0)}function jo(a,p){if(1&a&&(r.YNc(0,Ws,1,0,"div",9),r.TgZ(1,"div",10),r._uU(2),r.qZA(),r.YNc(3,fi,1,0,"div",9)),2&a){const i=p.$implicit,d=p.index,y=r.oxw(2);r.Q6J("ngIf",d>0),r.xp6(2),r.hij(" ",y.i18n.getMonthLabel(i.firstDate)," "),r.xp6(1),r.Q6J("ngIf",d!==y.months.length-1)}}function Gi(a,p){if(1&a&&r.YNc(0,jo,4,3,"ng-template",8),2&a){const i=r.oxw();r.Q6J("ngForOf",i.months)}}function Es(a,p){if(1&a&&(r.TgZ(0,"div",5),r._uU(1),r.qZA()),2&a){const i=r.oxw(2);r.xp6(1),r.Oqu(i.i18n.getWeekLabel())}}function Br(a,p){if(1&a&&(r.TgZ(0,"div",6),r._uU(1),r.qZA()),2&a){const i=p.$implicit;r.xp6(1),r.Oqu(i)}}function dn(a,p){if(1&a&&(r.TgZ(0,"div",2),r.YNc(1,Es,2,1,"div",3),r.YNc(2,Br,2,1,"div",4),r.qZA()),2&a){const i=r.oxw();r.xp6(1),r.Q6J("ngIf",i.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",i.viewModel.weekdays)}}function Cs(a,p){if(1&a&&(r.TgZ(0,"div",11),r._uU(1),r.qZA()),2&a){const i=r.oxw(2).$implicit,d=r.oxw();r.xp6(1),r.Oqu(d.i18n.getWeekNumerals(i.number))}}function Ua(a,p){}function Ys(a,p){if(1&a&&r.YNc(0,Ua,0,0,"ng-template",14),2&a){const i=r.oxw().$implicit,d=r.oxw(3);r.Q6J("ngTemplateOutlet",d.datepicker.dayTemplate)("ngTemplateOutletContext",i.context)}}function wa(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"div",12),r.NdJ("click",function(y){const Z=r.CHM(i).$implicit;return r.oxw(3).doSelect(Z),r.KtG(y.preventDefault())}),r.YNc(1,Ys,1,2,"ng-template",13),r.qZA()}if(2&a){const i=p.$implicit;r.ekj("disabled",i.context.disabled)("hidden",i.hidden)("ngb-dp-today",i.context.today),r.Q6J("tabindex",i.tabindex),r.uIk("aria-label",i.ariaLabel),r.xp6(1),r.Q6J("ngIf",!i.hidden)}}function R(a,p){if(1&a&&(r.TgZ(0,"div",8),r.YNc(1,Cs,2,1,"div",9),r.YNc(2,wa,2,9,"div",10),r.qZA()),2&a){const i=r.oxw().$implicit,d=r.oxw();r.xp6(1),r.Q6J("ngIf",d.datepicker.showWeekNumbers),r.xp6(1),r.Q6J("ngForOf",i.days)}}function A(a,p){1&a&&r.YNc(0,R,3,2,"div",7),2&a&&r.Q6J("ngIf",!p.$implicit.collapsed)}const S=["defaultDayTemplate"],W=["content"];function ne(a,p){if(1&a&&r._UZ(0,"div",8),2&a){const d=p.currentMonth,y=p.selected,O=p.disabled,Z=p.focused;r.Q6J("date",p.date)("currentMonth",d)("selected",y)("disabled",O)("focused",Z)}}function ht(a,p){if(1&a&&(r.TgZ(0,"div",13),r._uU(1),r.qZA()),2&a){const i=r.oxw().$implicit,d=r.oxw(2);r.xp6(1),r.hij(" ",d.i18n.getMonthLabel(i.firstDate)," ")}}function Qn(a,p){if(1&a&&(r.TgZ(0,"div",10),r.YNc(1,ht,2,1,"div",11),r._UZ(2,"ngb-datepicker-month",12),r.qZA()),2&a){const i=p.$implicit,d=r.oxw(2);r.xp6(1),r.Q6J("ngIf","none"===d.navigation||d.displayMonths>1&&"select"===d.navigation),r.xp6(1),r.Q6J("month",i.firstDate)}}function Jr(a,p){if(1&a&&r.YNc(0,Qn,3,2,"div",9),2&a){const i=r.oxw();r.Q6J("ngForOf",i.model.months)}}function gr(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"ngb-datepicker-navigation",14),r.NdJ("navigate",function(y){r.CHM(i);const O=r.oxw();return r.KtG(O.onNavigateEvent(y))})("select",function(y){r.CHM(i);const O=r.oxw();return r.KtG(O.onNavigateDateSelect(y))}),r.qZA()}if(2&a){const i=r.oxw();r.Q6J("date",i.model.firstDate)("months",i.model.months)("disabled",i.model.disabled)("showSelect","select"===i.model.navigation)("prevDisabled",i.model.prevDisabled)("nextDisabled",i.model.nextDisabled)("selectBoxes",i.model.selectBoxes)}}function yo(a,p){}function zi(a,p){}const Ir=function(a){return{$implicit:a}},mr=["dialog"],io=["ngbNavOutlet",""];function $o(a,p){}function Ts(a,p){if(1&a&&(r.TgZ(0,"div",2),r.YNc(1,$o,0,0,"ng-template",3),r.qZA()),2&a){const i=r.oxw().$implicit,d=r.oxw();r.Q6J("item",i)("nav",d.nav)("role",d.paneRole),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.contentTpl?null:i.contentTpl.templateRef)||null)("ngTemplateOutletContext",r.VKq(5,Ir,i.active||d.isPanelTransitioning(i)))}}function us(a,p){if(1&a&&r.YNc(0,Ts,2,7,"div",1),2&a){const i=p.$implicit,d=r.oxw();r.Q6J("ngIf",i.isPanelInDom()||d.isPanelTransitioning(i))}}function oi(a,p){1&a&&(r.TgZ(0,"span",9),r.SDv(1,10),r.qZA())}function si(a,p){1&a&&(r.TgZ(0,"span",9),r.SDv(1,11),r.qZA())}function qs(a,p){1&a&&(r.TgZ(0,"span",9),r.SDv(1,12),r.qZA())}function bo(a,p){1&a&&(r.TgZ(0,"span",9),r.SDv(1,13),r.qZA())}function Zr(a,p){1&a&&r._uU(0,"...")}function ja(a,p){1&a&&r._uU(0),2&a&&r.Oqu(p.$implicit)}function oo(a,p){}const Ks=function(a){return{disabled:!0,currentPage:a}};function Do(a,p){if(1&a&&(r.TgZ(0,"a",18),r.YNc(1,oo,0,0,"ng-template",8),r.qZA()),2&a){const i=r.oxw(2).$implicit,d=r.oxw(),y=r.MAs(9);r.xp6(1),r.Q6J("ngTemplateOutlet",(null==d.tplEllipsis?null:d.tplEllipsis.templateRef)||y)("ngTemplateOutletContext",r.VKq(2,Ks,i))}}function Go(a,p){}const Js=function(a,p,i){return{disabled:a,$implicit:p,currentPage:i}};function cs(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",function(y){r.CHM(i);const O=r.oxw().$implicit;return r.oxw(2).selectPage(O),r.KtG(y.preventDefault())}),r.YNc(1,Go,0,0,"ng-template",8),r.qZA()}if(2&a){const i=r.oxw().$implicit,d=r.oxw(),y=d.disabled,O=d.$implicit,Z=r.oxw(),ue=r.MAs(11);r.uIk("tabindex",y?"-1":null)("aria-disabled",y?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==Z.tplNumber?null:Z.tplNumber.templateRef)||ue)("ngTemplateOutletContext",r.kEZ(4,Js,y,i,O))}}function ds(a,p){if(1&a&&(r.TgZ(0,"li",15),r.YNc(1,Do,2,4,"a",16),r.YNc(2,cs,2,8,"a",17),r.qZA()),2&a){const i=p.$implicit,d=r.oxw(),y=d.$implicit,O=d.disabled,Z=r.oxw();r.ekj("active",i===y)("disabled",Z.isEllipsis(i)||O),r.uIk("aria-current",i===y?"page":null),r.xp6(1),r.Q6J("ngIf",Z.isEllipsis(i)),r.xp6(1),r.Q6J("ngIf",!Z.isEllipsis(i))}}function Zs(a,p){1&a&&r.YNc(0,ds,3,7,"li",14),2&a&&r.Q6J("ngForOf",p.pages)}function Ss(a,p){}const Wi=function(a,p){return{disabled:a,currentPage:p}};function Qr(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"li",15)(1,"a",20),r.NdJ("click",function(y){return r.CHM(i),r.oxw().selectPage(1),r.KtG(y.preventDefault())}),r.YNc(2,Ss,0,0,"ng-template",8),r.qZA()()}if(2&a){const i=r.oxw(),d=r.MAs(1);r.ekj("disabled",i.previousDisabled()),r.xp6(1),r.uIk("tabindex",i.previousDisabled()?"-1":null)("aria-disabled",i.previousDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.tplFirst?null:i.tplFirst.templateRef)||d)("ngTemplateOutletContext",r.WLB(6,Wi,i.previousDisabled(),i.page))}}function fs(a,p){}const $a=function(a){return{disabled:a}};function Ms(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"li",15)(1,"a",21),r.NdJ("click",function(y){r.CHM(i);const O=r.oxw();return O.selectPage(O.page-1),r.KtG(y.preventDefault())}),r.YNc(2,fs,0,0,"ng-template",8),r.qZA()()}if(2&a){const i=r.oxw(),d=r.MAs(3);r.ekj("disabled",i.previousDisabled()),r.xp6(1),r.uIk("tabindex",i.previousDisabled()?"-1":null)("aria-disabled",i.previousDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.tplPrevious?null:i.tplPrevious.templateRef)||d)("ngTemplateOutletContext",r.VKq(6,$a,i.previousDisabled()))}}function Qs(a,p){}function Ea(a,p){}function Ca(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"li",15)(1,"a",22),r.NdJ("click",function(y){r.CHM(i);const O=r.oxw();return O.selectPage(O.page+1),r.KtG(y.preventDefault())}),r.YNc(2,Ea,0,0,"ng-template",8),r.qZA()()}if(2&a){const i=r.oxw(),d=r.MAs(5);r.ekj("disabled",i.nextDisabled()),r.xp6(1),r.uIk("tabindex",i.nextDisabled()?"-1":null)("aria-disabled",i.nextDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.tplNext?null:i.tplNext.templateRef)||d)("ngTemplateOutletContext",r.WLB(6,Wi,i.nextDisabled(),i.page))}}function Xr(a,p){}function Fi(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"li",15)(1,"a",23),r.NdJ("click",function(y){r.CHM(i);const O=r.oxw();return O.selectPage(O.pageCount),r.KtG(y.preventDefault())}),r.YNc(2,Xr,0,0,"ng-template",8),r.qZA()()}if(2&a){const i=r.oxw(),d=r.MAs(7);r.ekj("disabled",i.nextDisabled()),r.xp6(1),r.uIk("tabindex",i.nextDisabled()?"-1":null)("aria-disabled",i.nextDisabled()?"true":null),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==i.tplLast?null:i.tplLast.templateRef)||d)("ngTemplateOutletContext",r.WLB(6,Wi,i.nextDisabled(),i.page))}}const fr=function(a,p,i){return{$implicit:a,pages:p,disabled:i}};function El(a,p){if(1&a&&(r.TgZ(0,"span"),r.SDv(1,1),r.ALo(2,"percent"),r.qZA()),2&a){const i=r.oxw();r.xp6(2),r.pQV(r.lcZ(2,1,i.getValue()/i.max)),r.QtT(1)}}function Ga(a,p){1&a&&r._uU(0),2&a&&r.Oqu(100===p.fill?"\u2605":"\u2606")}function C(a,p){}function k(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"span",2),r._uU(1),r.qZA(),r.TgZ(2,"span",3),r.NdJ("mouseenter",function(){const O=r.CHM(i).index,Z=r.oxw();return r.KtG(Z.enter(O+1))})("click",function(){const O=r.CHM(i).index,Z=r.oxw();return r.KtG(Z.handleClick(O+1))}),r.YNc(3,C,0,0,"ng-template",4),r.qZA()}if(2&a){const i=p.index,d=r.oxw(),y=r.MAs(1);r.xp6(1),r.hij("(",i=12)("ngIfElse",i)}}function Vr(a,p){if(1&a&&(r.TgZ(0,"strong",3),r._uU(1),r.qZA()),2&a){const i=r.oxw();r.xp6(1),r.Oqu(i.header)}}function hi(a,p){}function Yi(a,p){if(1&a){const i=r.EpF();r.TgZ(0,"div",4),r.YNc(1,hi,0,0,"ng-template",5),r.TgZ(2,"button",6),r.NdJ("click",function(){r.CHM(i);const y=r.oxw();return r.KtG(y.hide())}),r.qZA()()}if(2&a){const i=r.oxw(),d=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",i.contentHeaderTpl||d)}}function wo(a,p){if(1&a&&(r.TgZ(0,"span"),r._uU(1),r.qZA()),2&a){const i=r.oxw().$implicit,d=r.oxw();r.Tol(d.highlightClass),r.xp6(1),r.Oqu(i)}}function pi(a,p){if(1&a&&r._uU(0),2&a){const i=r.oxw().$implicit;r.Oqu(i)}}function qi(a,p){if(1&a&&(r.YNc(0,wo,2,3,"span",1),r.YNc(1,pi,1,1,"ng-template",null,2,r.W1O)),2&a){const i=p.odd,d=r.MAs(2);r.Q6J("ngIf",i)("ngIfElse",d)}}function ti(a){return parseInt(`${a}`,10)}function Xs(a){return null!=a?`${a}`:""}function ps(a,p,i=0){return Math.max(Math.min(a,p),i)}function Wo(a){return"string"==typeof a}function Cr(a){return!isNaN(ti(a))}function Nn(a){return"number"==typeof a&&isFinite(a)&&Math.floor(a)===a}function nr(a){return null!=a}function ai(a){return Cr(a)?`0${a}`.slice(-2):""}function Sa(a,p){return a&&a.className&&a.className.split&&a.className.split(/\s+/).indexOf(p)>=0}function Rr(a){return(a||document.body).getBoundingClientRect()}function gs(a){return a.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const Sl={animation:!0,transitionTimerDelayMs:5},tu=()=>{},{transitionTimerDelayMs:rc}=Sl,za=new Map,zr=(a,p,i,d)=>{let y=d.context||{};const O=za.get(p);if(O)switch(d.runningTransition){case"continue":return se.E;case"stop":a.run(()=>O.transition$.complete()),y=Object.assign(O.context,y),za.delete(p)}const Z=i(p,d.animation,y)||tu;if(!d.animation||"none"===window.getComputedStyle(p).transitionProperty)return a.run(()=>Z()),(0,de.of)(void 0).pipe(function Tl(a){return p=>new L.y(i=>p.subscribe({next:Z=>a.run(()=>i.next(Z)),error:Z=>a.run(()=>i.error(Z)),complete:()=>a.run(()=>i.complete())}))}(a));const ue=new ve.x,_e=new ve.x,Be=ue.pipe(function fn(...a){return p=>(0,et.z)(p,(0,de.of)(...a))}(!0));za.set(p,{transition$:ue,complete:()=>{_e.next(),_e.complete()},context:y});const Ye=function eu(a){const{transitionDelay:p,transitionDuration:i}=window.getComputedStyle(a);return 1e3*(parseFloat(p)+parseFloat(i))}(p);return a.runOutsideAngular(()=>{const Gt=Ue(p,"transitionend").pipe((0,gt.R)(Be),(0,Qt.h)(({target:Ut})=>Ut===p));(function Yn(...a){return 1===(a=hn(a)).length?(0,Oe.Xf)(a[0]):new L.y(function He(a){return p=>{let i=[];for(let d=0;i&&!p.closed&&d{if(i){for(let O=0;O{za.delete(p),a.run(()=>{Z(),ue.next(),ue.complete()})})}),ue.asObservable()},Ci=(a,p,i)=>{let{direction:d,maxSize:y,dimension:O}=i;const{classList:Z}=a;function ue(){Z.add("collapse"),"show"===d?Z.add("show"):Z.remove("show")}if(p)return y||(y=function ms(a,p){if(typeof navigator>"u")return"0px";const{classList:i}=a,d=i.contains("show");d||i.add("show"),a.style[p]="";const y=a.getBoundingClientRect()[p]+"px";return d||i.remove("show"),y}(a,O),i.maxSize=y,a.style[O]="show"!==d?y:"0px",Z.remove("collapse"),Z.remove("collapsing"),Z.remove("show"),Rr(a),Z.add("collapsing")),a.style[O]="show"===d?y:"0px",()=>{ue(),Z.remove("collapsing"),a.style[O]=""};ue()};let _s=(()=>{class a{constructor(){this.animation=Sl.animation}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),rr=(()=>{class a{constructor(i){this._ngbConfig=i,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(i){this._animation=i}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(_s))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Wa=0,Ma=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPanelHeader",""]],standalone:!0}),a})(),Io=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPanelTitle",""]],standalone:!0}),a})(),ra=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPanelContent",""]],standalone:!0}),a})(),Ml=(()=>{class a{constructor(){this.disabled=!1,this.id="ngb-panel-"+Wa++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new r.vpe,this.hidden=new r.vpe}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275dir=r.lG2({type:a,selectors:[["ngb-panel"]],contentQueries:function(i,d,y){if(1&i&&(r.Suo(y,Io,4),r.Suo(y,Ma,4),r.Suo(y,ra,4)),2&i){let O;r.iGM(O=r.CRH())&&(d.titleTpls=O),r.iGM(O=r.CRH())&&(d.headerTpls=O),r.iGM(O=r.CRH())&&(d.contentTpls=O)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"},standalone:!0}),a})(),bu=(()=>{class a{constructor(i){this._El=i,this.ngbRef=new r.vpe}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.SBq))},a.\u0275dir=r.lG2({type:a,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"},standalone:!0}),a})(),Nl=(()=>{class a{constructor(i,d){this.accordion=i,this.panel=d}set ngbPanelToggle(i){i&&(this.panel=i)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36((0,r.Gpc)(()=>Yo)),r.Y36(Ml,9))},a.\u0275dir=r.lG2({type:a,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(i,d){1&i&&r.NdJ("click",function(){return d.accordion.toggle(d.panel.id)}),2&i&&(r.Ikx("disabled",d.panel.disabled),r.uIk("aria-expanded",d.panel.isOpen)("aria-controls",d.panel.id),r.ekj("collapsed",!d.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"},standalone:!0}),a})(),Yo=(()=>{class a{constructor(i,d,y){this._ngZone=d,this._changeDetector=y,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new r.vpe,this.shown=new r.vpe,this.hidden=new r.vpe,this.animation=i.animation,this.type=i.type,this.closeOtherPanels=i.closeOthers}isExpanded(i){return this.activeIds.indexOf(i)>-1}expand(i){this._changeOpenState(this._findPanelById(i),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(i=>this._changeOpenState(i,!0))}collapse(i){this._changeOpenState(this._findPanelById(i),!1)}collapseAll(){this.panels.forEach(i=>{this._changeOpenState(i,!1)})}toggle(i){const d=this._findPanelById(i);d&&this._changeOpenState(d,!d.isOpen)}ngAfterContentChecked(){Wo(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(i=>{i.isOpen=!i.disabled&&this.activeIds.indexOf(i.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>{this.panels.forEach(i=>{const d=i.panelDiv;d?i.initClassDone||(i.initClassDone=!0,zr(this._ngZone,d,Ci,{animation:!1,runningTransition:"continue",context:{direction:i.isOpen?"show":"hide",dimension:"height"}})):i.initClassDone=!1})})}_changeOpenState(i,d){if(null!=i&&!i.disabled&&i.isOpen!==d){let y=!1;this.panelChange.emit({panelId:i.id,nextState:d,preventDefault:()=>{y=!0}}),y||(i.isOpen=d,i.transitionRunning=!0,d&&this.closeOtherPanels&&this._closeOthers(i.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(i,d=!0){this.panels.forEach(y=>{y.id!==i&&y.isOpen&&(y.isOpen=!1,y.transitionRunning=d)})}_findPanelById(i){return this.panels.find(d=>d.id===i)||null}_updateActiveIds(){this.activeIds=this.panels.filter(i=>i.isOpen&&!i.disabled).map(i=>i.id)}_runTransitions(i){this._changeDetector.detectChanges(),this.panels.forEach(d=>{d.transitionRunning&&zr(this._ngZone,d.panelDiv,Ci,{animation:i,runningTransition:"stop",context:{direction:d.isOpen?"show":"hide",dimension:"height"}}).subscribe(()=>{d.transitionRunning=!1;const{id:O}=d;d.isOpen?(d.shown.emit(),this.shown.emit(O)):(d.hidden.emit(),this.hidden.emit(O))})})}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(rr),r.Y36(r.R0b),r.Y36(r.sBO))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-accordion"]],contentQueries:function(i,d,y){if(1&i&&r.Suo(y,Ml,4),2&i){let O;r.iGM(O=r.CRH())&&(d.panels=O)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(i,d){2&i&&r.uIk("aria-multiselectable",!d.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0,features:[r.jDz],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"accordion-body"]],template:function(i,d){1&i&&(r.YNc(0,go,3,3,"ng-template",0,1,r.W1O),r.YNc(2,Da,4,11,"ng-template",2)),2&i&&(r.xp6(2),r.Q6J("ngForOf",d.panels))},dependencies:[Se.ax,Se.tP,Nl,bu,Ma,Se.O5],encapsulation:2}),a})(),ic=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[Yo]}),a})();const Eu=({classList:a})=>{a.remove("show")};let oc=(()=>{class a{constructor(i){this._ngbConfig=i,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(i){this._animation=i}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(_s))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),sc=(()=>{class a{constructor(i,d,y,O){this._renderer=d,this._element=y,this._zone=O,this.closed=new r.vpe,this.dismissible=i.dismissible,this.type=i.type,this.animation=i.animation}close(){const i=zr(this._zone,this._element.nativeElement,Eu,{animation:this.animation,runningTransition:"continue"});return i.subscribe(()=>this.closed.emit()),i}ngOnChanges(i){const d=i.type;d&&!d.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${d.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${d.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(oc),r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(r.R0b))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(i,d){2&i&&r.ekj("fade",d.animation)("alert-dismissible",d.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[r.TTD,r.jDz],ngContentSelectors:mo,decls:2,vars:1,consts:function(){let p;return p=$localize`:@@ngb.alert.close:Close`,[["type","button","class","btn-close","aria-label",p,3,"click",4,"ngIf"],["type","button","aria-label",p,1,"btn-close",3,"click"]]},template:function(i,d){1&i&&(r.F$t(),r.Hsn(0),r.YNc(1,xi,1,0,"button",0)),2&i&&(r.xp6(1),r.Q6J("ngIf",d.dismissible))},dependencies:[Se.O5],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),a})(),oa=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[sc]}),a})();var As=(()=>{return(a=As||(As={})).START="start",a.END="end",As;var a})();const Cu=({classList:a})=>a.contains("carousel-item-start")||a.contains("carousel-item-end"),Or=a=>{a.remove("carousel-item-start"),a.remove("carousel-item-end")},sa=a=>{Or(a),a.remove("carousel-item-prev"),a.remove("carousel-item-next")},Oa=(a,p,{direction:i})=>{const{classList:d}=a;return p?(Cu(a)?Or(d):(d.add("carousel-item-"+(i===As.START?"next":"prev")),Rr(a),d.add("carousel-item-"+i)),()=>{sa(d),d.add("active")}):(Or(d),sa(d),void d.add("active"))},iu=(a,p,{direction:i})=>{const{classList:d}=a;return p?(Cu(a)?Or(d):d.add("carousel-item-"+i),()=>{sa(d),d.remove("active")}):(Or(d),sa(d),void d.remove("active"))};let Ki=(()=>{class a{constructor(i){this._ngbConfig=i,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(i){this._animation=i}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(_s))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),aa=0,v=(()=>{class a{constructor(i){this.tplRef=i,this.id="ngb-slide-"+aa++,this.slid=new r.vpe}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0}),a})(),b=(()=>{class a{constructor(i,d,y,O,Z){this._platformId=d,this._ngZone=y,this._cd=O,this._container=Z,this.NgbSlideEventSource=g,this._destroy$=new ve.x,this._interval$=new Fe.X(0),this._mouseHover$=new Fe.X(!1),this._focused$=new Fe.X(!1),this._pauseOnHover$=new Fe.X(!1),this._pauseOnFocus$=new Fe.X(!1),this._pause$=new Fe.X(!1),this._wrap$=new Fe.X(!1),this.slide=new r.vpe,this.slid=new r.vpe,this._transitionIds=null,this.animation=i.animation,this.interval=i.interval,this.wrap=i.wrap,this.keyboard=i.keyboard,this.pauseOnHover=i.pauseOnHover,this.pauseOnFocus=i.pauseOnFocus,this.showNavigationArrows=i.showNavigationArrows,this.showNavigationIndicators=i.showNavigationIndicators}set interval(i){this._interval$.next(i)}get interval(){return this._interval$.value}set wrap(i){this._wrap$.next(i)}get wrap(){return this._wrap$.value}set pauseOnHover(i){this._pauseOnHover$.next(i)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(i){this._pauseOnFocus$.next(i)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(i){this._mouseHover$.next(i)}get mouseHover(){return this._mouseHover$.value}set focused(i){this._focused$.next(i)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(g.ARROW_LEFT)}arrowRight(){this.focus(),this.next(g.ARROW_RIGHT)}ngAfterContentInit(){(0,Se.NF)(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const i=(0,ze.a)([this.slide.pipe((0,Cn.U)(d=>d.current),(0,Xt.O)(this.activeId)),this._wrap$,this.slides.changes.pipe((0,Xt.O)(null))]).pipe((0,Cn.U)(([d,y])=>{const O=this.slides.toArray(),Z=this._getSlideIdxById(d);return y?O.length>1:Zd||y&&O||Z&&ue||!Be?0:_e),oe(),(0,Ce.w)(d=>d>0?st(d,d):Re),(0,gt.R)(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(g.TIMER)))}),this.slides.changes.pipe((0,gt.R)(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(i=>(a=>{za.get(a)?.complete()})(this._getSlideElement(i))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe((0,jt.q)(1)).subscribe(()=>{for(const{id:i}of this.slides){const d=this._getSlideElement(i);i===this.activeId?d.classList.add("active"):d.classList.remove("active")}})})}ngAfterContentChecked(){let i=this._getSlideById(this.activeId);this.activeId=i?i.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const i=this._getSlideElement(this.activeId);i&&i.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(i,d){this._cycleToSelected(i,this._getSlideEventDirection(this.activeId,i),d)}prev(i){this._cycleToSelected(this._getPrevSlide(this.activeId),As.END,i)}next(i){this._cycleToSelected(this._getNextSlide(this.activeId),As.START,i)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(i,d,y){const O=this._transitionIds;if(O&&(O[0]!==i||O[1]!==this.activeId))return;let Z=this._getSlideById(i);if(Z&&Z.id!==this.activeId){this._transitionIds=[this.activeId,i],this.slide.emit({prev:this.activeId,current:Z.id,direction:d,paused:this._pause$.value,source:y});const ue={animation:this.animation,runningTransition:"stop",context:{direction:d}},_e=[],Be=this._getSlideById(this.activeId);if(Be){const Ut=zr(this._ngZone,this._getSlideElement(Be.id),iu,ue);Ut.subscribe(()=>{Be.slid.emit({isShown:!1,direction:d,source:y})}),_e.push(Ut)}const Ye=this.activeId;this.activeId=Z.id;const Gt=this._getSlideById(this.activeId),Tt=zr(this._ngZone,this._getSlideElement(Z.id),Oa,ue);Tt.subscribe(()=>{Gt?.slid.emit({isShown:!0,direction:d,source:y})}),_e.push(Tt),Ge(..._e).pipe((0,jt.q)(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:Ye,current:Z.id,direction:d,paused:this._pause$.value,source:y})})}this._cd.markForCheck()}_getSlideEventDirection(i,d){return this._getSlideIdxById(i)>this._getSlideIdxById(d)?As.END:As.START}_getSlideById(i){return this.slides.find(d=>d.id===i)||null}_getSlideIdxById(i){const d=this._getSlideById(i);return null!=d?this.slides.toArray().indexOf(d):-1}_getNextSlide(i){const d=this.slides.toArray(),y=this._getSlideIdxById(i);return y===d.length-1?this.wrap?d[0].id:d[d.length-1].id:d[y+1].id}_getPrevSlide(i){const d=this.slides.toArray(),y=this._getSlideIdxById(i);return 0===y?this.wrap?d[d.length-1].id:d[0].id:d[y-1].id}_getSlideElement(i){return this._container.nativeElement.querySelector(`#slide-${i}`)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(Ki),r.Y36(r.Lbi),r.Y36(r.R0b),r.Y36(r.sBO),r.Y36(r.SBq))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-carousel"]],contentQueries:function(i,d,y){if(1&i&&r.Suo(y,v,4),2&i){let O;r.iGM(O=r.CRH())&&(d.slides=O)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(i,d){1&i&&r.NdJ("keydown.arrowLeft",function(){return d.keyboard&&d.arrowLeft()})("keydown.arrowRight",function(){return d.keyboard&&d.arrowRight()})("mouseenter",function(){return d.mouseHover=!0})("mouseleave",function(){return d.mouseHover=!1})("focusin",function(){return d.focused=!0})("focusout",function(){return d.focused=!1}),2&i&&(r.uIk("aria-activedescendant","slide-"+d.activeId),r.Udp("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[r.jDz],decls:6,vars:6,consts:function(){let p,i,d;return p=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,i=$localize`:@@ngb.carousel.previous:Previous`,d=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],p,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],i,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],d]},template:function(i,d){1&i&&(r.TgZ(0,"div",0),r.YNc(1,Nr,1,5,"button",1),r.qZA(),r.TgZ(2,"div",2),r.YNc(3,wi,4,4,"div",3),r.qZA(),r.YNc(4,jn,4,0,"button",4),r.YNc(5,$i,4,0,"button",5)),2&i&&(r.ekj("visually-hidden",!d.showNavigationIndicators),r.xp6(1),r.Q6J("ngForOf",d.slides),r.xp6(2),r.Q6J("ngForOf",d.slides),r.xp6(1),r.Q6J("ngIf",d.showNavigationArrows),r.xp6(1),r.Q6J("ngIf",d.showNavigationArrows))},dependencies:[Se.ax,Se.tP,Se.O5],encapsulation:2,changeDetection:0}),a})();var g=(()=>{return(a=g||(g={})).TIMER="timer",a.ARROW_LEFT="arrowLeft",a.ARROW_RIGHT="arrowRight",a.INDICATOR="indicator",g;var a})();let E=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[b]}),a})(),P=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({}),a})();class U{constructor(p,i,d){this.year=Nn(p)?p:null,this.month=Nn(i)?i:null,this.day=Nn(d)?d:null}static from(p){return p instanceof U?p:p?new U(p.year,p.month,p.day):null}equals(p){return null!=p&&this.year===p.year&&this.month===p.month&&this.day===p.day}before(p){return!!p&&(this.year===p.year?this.month===p.month?this.day!==p.day&&this.dayp.day:this.month>p.month:this.year>p.year)}}function q(a,p){return!function Qe(a,p){return!a&&!p||!!a&&!!p&&a.equals(p)}(a,p)}function De(a,p){return!(!a&&!p||a&&p&&a.year===p.year&&a.month===p.month)}function Vt(a,p,i){return a&&p&&a.before(p)?p:a&&i&&a.after(i)?i:a||null}function Fn(a,p){const{minDate:i,maxDate:d,disabled:y,markDisabled:O}=p;return!(null==a||y||O&&O(a,{year:a.year,month:a.month})||i&&a.before(i)||d&&a.after(d))}function Ya(a){return new U(a.getFullYear(),a.getMonth()+1,a.getDate())}function qa(a){const p=new Date(a.year,a.month-1,a.day,12);return isNaN(p.getTime())||p.setFullYear(a.year),p}let Ka=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:function(){return function Jo(){return new Il}()},providedIn:"root"}),a})(),Il=(()=>{class a extends Ka{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(i,d="d",y=1){let O=qa(i),Z=!0,ue=O.getMonth();switch(d){case"y":O.setFullYear(O.getFullYear()+y);break;case"m":ue+=y,O.setMonth(ue),ue%=12,ue<0&&(ue+=12);break;case"d":O.setDate(O.getDate()+y),Z=!1;break;default:return i}return Z&&O.getMonth()!==ue&&O.setDate(0),Ya(O)}getPrev(i,d="d",y=1){return this.getNext(i,d,-y)}getWeekday(i){let y=qa(i).getDay();return 0===y?7:y}getWeekNumber(i,d){7===d&&(d=0);const Z=qa(i[(11-d)%7]);Z.setDate(Z.getDate()+4-(Z.getDay()||7));const ue=Z.getTime();return Z.setMonth(0),Z.setDate(1),Math.floor(Math.round((ue-Z.getTime())/864e5)/7)+1}getToday(){return Ya(new Date)}isValid(i){if(!(i&&Nn(i.year)&&Nn(i.month)&&Nn(i.day)&&0!==i.year))return!1;const d=qa(i);return!isNaN(d.getTime())&&d.getFullYear()===i.year&&d.getMonth()+1===i.month&&d.getDate()===i.day}}return a.\u0275fac=function(){let p;return function(d){return(p||(p=r.n5z(a)))(d||a)}}(),a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac}),a})(),la=(()=>{class a{getMonthLabel(i){return`${this.getMonthFullName(i.month,i.year)} ${this.getYearNumerals(i.year)}`}getDayNumerals(i){return`${i.day}`}getWeekNumerals(i){return`${i}`}getYearNumerals(i){return`${i}`}getWeekLabel(){return""}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:function(i){let d=null;return d=i?new i:function Xd(a){return new Ja(a)}(r.LFG(r.soG)),d},providedIn:"root"}),a})(),Ja=(()=>{class a extends la{constructor(i){super(),this._locale=i,this._monthsShort=(0,Se.UT)(i,Se.x.Standalone,Se.Tn.Abbreviated),this._monthsFull=(0,Se.UT)(i,Se.x.Standalone,Se.Tn.Wide)}getWeekdayLabel(i,d){const y=(0,Se.Mn)(this._locale,Se.x.Standalone,void 0===d?Se.Tn.Short:d);return y.map((Z,ue)=>y[(ue+1)%7])[i-1]||""}getMonthShortName(i){return this._monthsShort[i-1]||""}getMonthFullName(i){return this._monthsFull[i-1]||""}getDayAriaLabel(i){const d=new Date(i.year,i.month-1,i.day);return(0,Se.p6)(d,"fullDate",this._locale)}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(r.soG))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac}),a})(),Aa=(()=>{class a{constructor(i,d){this._calendar=i,this._i18n=d,this._VALIDATORS={dayTemplateData:y=>{if(this._state.dayTemplateData!==y)return{dayTemplateData:y}},displayMonths:y=>{if(Nn(y=ti(y))&&y>0&&this._state.displayMonths!==y)return{displayMonths:y}},disabled:y=>{if(this._state.disabled!==y)return{disabled:y}},firstDayOfWeek:y=>{if(Nn(y=ti(y))&&y>=0&&this._state.firstDayOfWeek!==y)return{firstDayOfWeek:y}},focusVisible:y=>{if(this._state.focusVisible!==y&&!this._state.disabled)return{focusVisible:y}},markDisabled:y=>{if(this._state.markDisabled!==y)return{markDisabled:y}},maxDate:y=>{const O=this.toValidDate(y,null);if(q(this._state.maxDate,O))return{maxDate:O}},minDate:y=>{const O=this.toValidDate(y,null);if(q(this._state.minDate,O))return{minDate:O}},navigation:y=>{if(this._state.navigation!==y)return{navigation:y}},outsideDays:y=>{if(this._state.outsideDays!==y)return{outsideDays:y}},weekdays:y=>{const O=!0===y||!1===y?Se.Tn.Short:y,Z=!0!==y&&!1!==y||y;if(this._state.weekdayWidth!==O||this._state.weekdaysVisible!==Z)return{weekdayWidth:O,weekdaysVisible:Z}}},this._model$=new ve.x,this._dateSelect$=new ve.x,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:Se.Tn.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe((0,Qt.h)(i=>i.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe((0,Qt.h)(i=>null!==i))}set(i){let d=Object.keys(i).map(y=>this._VALIDATORS[y](i[y])).reduce((y,O)=>({...y,...O}),{});Object.keys(d).length>0&&this._nextState(d)}focus(i){const d=this.toValidDate(i,null);null!=d&&!this._state.disabled&&q(this._state.focusDate,d)&&this._nextState({focusDate:i})}focusSelect(){Fn(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(i){const d=this.toValidDate(i,this._calendar.getToday());null!=d&&!this._state.disabled&&(!this._state.firstDate||De(this._state.firstDate,d))&&this._nextState({firstDate:d})}select(i,d={}){const y=this.toValidDate(i,null);null!=y&&!this._state.disabled&&(q(this._state.selectedDate,y)&&this._nextState({selectedDate:y}),d.emitEvent&&Fn(y,this._state)&&this._dateSelect$.next(y))}toValidDate(i,d){const y=U.from(i);return void 0===d&&(d=this._calendar.getToday()),this._calendar.isValid(y)?y:d}getMonth(i){for(let d of this._state.months)if(i.month===d.number&&i.year===d.year)return d;throw new Error(`month ${i.month} of year ${i.year} not found`)}_nextState(i){const d=this._updateState(i);this._patchContexts(d),this._state=d,this._model$.next(this._state)}_patchContexts(i){const{months:d,displayMonths:y,selectedDate:O,focusDate:Z,focusVisible:ue,disabled:_e,outsideDays:Be}=i;i.months.forEach(Ye=>{Ye.weeks.forEach(Gt=>{Gt.days.forEach(Tt=>{Z&&(Tt.context.focused=Z.equals(Tt.date)&&ue),Tt.tabindex=!_e&&Z&&Tt.date.equals(Z)&&Z.month===Ye.number?0:-1,!0===_e&&(Tt.context.disabled=!0),void 0!==O&&(Tt.context.selected=null!==O&&O.equals(Tt.date)),Ye.number!==Tt.date.month&&(Tt.hidden="hidden"===Be||"collapsed"===Be||y>1&&Tt.date.after(d[0].firstDate)&&Tt.date.before(d[y-1].lastDate))})})})}_updateState(i){const d=Object.assign({},this._state,i);let y=d.firstDate;if(("minDate"in i||"maxDate"in i)&&(function Rt(a,p){if(p&&a&&p.before(a))throw new Error(`'maxDate' ${p} should be greater than 'minDate' ${a}`)}(d.minDate,d.maxDate),d.focusDate=Vt(d.focusDate,d.minDate,d.maxDate),d.firstDate=Vt(d.firstDate,d.minDate,d.maxDate),y=d.focusDate),"disabled"in i&&(d.focusVisible=!1),"selectedDate"in i&&0===this._state.months.length&&(y=d.selectedDate),"focusVisible"in i||"focusDate"in i&&(d.focusDate=Vt(d.focusDate,d.minDate,d.maxDate),y=d.focusDate,0!==d.months.length&&d.focusDate&&!d.focusDate.before(d.firstDate)&&!d.focusDate.after(d.lastDate)))return d;if("firstDate"in i&&(d.firstDate=Vt(d.firstDate,d.minDate,d.maxDate),y=d.firstDate),y){const Z=function so(a,p,i,d,y){const{displayMonths:O,months:Z}=i,ue=Z.splice(0,Z.length);return Array.from({length:O},(Be,Ye)=>{const Gt=Object.assign(a.getNext(p,"m",Ye),{day:1});if(Z[Ye]=null,!y){const Tt=ue.findIndex(Ut=>Ut.firstDate.equals(Gt));-1!==Tt&&(Z[Ye]=ue.splice(Tt,1)[0])}return Gt}).forEach((Be,Ye)=>{null===Z[Ye]&&(Z[Ye]=function Tu(a,p,i,d,y={}){const{dayTemplateData:O,minDate:Z,maxDate:ue,firstDayOfWeek:_e,markDisabled:Be,outsideDays:Ye,weekdayWidth:Gt,weekdaysVisible:Tt}=i,Ut=a.getToday();y.firstDate=null,y.lastDate=null,y.number=p.month,y.year=p.year,y.weeks=y.weeks||[],y.weekdays=y.weekdays||[],p=function Is(a,p,i){const d=a.getDaysPerWeek(),y=new U(p.year,p.month,1),O=a.getWeekday(y)%d;return a.getPrev(y,"d",(d+O-i)%d)}(a,p,_e),Tt||(y.weekdays.length=0);for(let Vn=0;VnGn.date),_e),gn.collapsed="collapsed"===Ye&&Tn[0].date.month!==y.number&&Tn[Tn.length-1].date.month!==y.number}return y}(a,Be,i,d,ue.shift()||{}))}),Z}(this._calendar,y,d,this._i18n,"dayTemplateData"in i||"firstDayOfWeek"in i||"markDisabled"in i||"minDate"in i||"maxDate"in i||"disabled"in i||"outsideDays"in i||"weekdaysVisible"in i);d.months=Z,d.firstDate=Z[0].firstDate,d.lastDate=Z[Z.length-1].lastDate,"selectedDate"in i&&!Fn(d.selectedDate,d)&&(d.selectedDate=null),"firstDate"in i&&(!d.focusDate||d.focusDate.before(d.firstDate)||d.focusDate.after(d.lastDate))&&(d.focusDate=y);const ue=!this._state.firstDate||this._state.firstDate.year!==d.firstDate.year,_e=!this._state.firstDate||this._state.firstDate.month!==d.firstDate.month;"select"===d.navigation?(("minDate"in i||"maxDate"in i||0===d.selectBoxes.years.length||ue)&&(d.selectBoxes.years=function Gr(a,p,i){if(!a)return[];const d=p?Math.max(p.year,a.year-500):a.year-10,O=(i?Math.min(i.year,a.year+500):a.year+10)-d+1,Z=Array(O);for(let ue=0;ueZ===i.month);y=y.slice(O)}if(d&&p.year===d.year){const O=y.findIndex(Z=>Z===d.month);y=y.slice(0,O+1)}return y}(this._calendar,d.firstDate,d.minDate,d.maxDate))):d.selectBoxes={years:[],months:[]},("arrows"===d.navigation||"select"===d.navigation)&&(_e||ue||"minDate"in i||"maxDate"in i||"disabled"in i)&&(d.prevDisabled=d.disabled||function Ko(a,p,i){const d=Object.assign(a.getPrev(p,"m"),{day:1});return null!=i&&(d.year===i.year&&d.month{return(a=Za||(Za={}))[a.PREV=0]="PREV",a[a.NEXT=1]="NEXT",Za;var a})();let ac=(()=>{class a{constructor(i){this.i18n=i}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(la))},a.\u0275cmp=r.Xpm({type:a,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(i,d){2&i&&r.ekj("bg-primary",d.selected)("text-white",d.selected)("text-muted",d.isMuted())("outside",d.isMuted())("active",d.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[r.jDz],attrs:Un,decls:1,vars:1,template:function(i,d){1&i&&r._uU(0),2&i&&r.Oqu(d.i18n.getDayNumerals(d.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),a})(),Su=(()=>{class a{constructor(i,d){this.i18n=i,this._renderer=d,this.select=new r.vpe,this._month=-1,this._year=-1}changeMonth(i){this.select.emit(new U(this.date.year,ti(i),1))}changeYear(i){this.select.emit(new U(ti(i),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(la),r.Y36(r.Qsj))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(i,d){if(1&i&&(r.Gf(Lr,7,r.SBq),r.Gf(vo,7,r.SBq)),2&i){let y;r.iGM(y=r.CRH())&&(d.monthSelect=y.first),r.iGM(y=r.CRH())&&(d.yearSelect=y.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[r.jDz],decls:6,vars:4,consts:function(){let p,i,d,y;return p=$localize`:@@ngb.datepicker.select-month:Select month`,i=$localize`:@@ngb.datepicker.select-month:Select month`,d=$localize`:@@ngb.datepicker.select-year:Select year`,y=$localize`:@@ngb.datepicker.select-year:Select year`,[["aria-label",p,"title",i,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",d,"title",y,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(i,d){1&i&&(r.TgZ(0,"select",0,1),r.NdJ("change",function(O){return d.changeMonth(O.target.value)}),r.YNc(2,Ao,2,3,"option",2),r.qZA(),r.TgZ(3,"select",3,4),r.NdJ("change",function(O){return d.changeYear(O.target.value)}),r.YNc(5,ii,2,2,"option",2),r.qZA()),2&i&&(r.Q6J("disabled",d.disabled),r.xp6(2),r.Q6J("ngForOf",d.months),r.xp6(1),r.Q6J("disabled",d.disabled),r.xp6(2),r.Q6J("ngForOf",d.years))},dependencies:[Se.ax],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),a})(),Qa=(()=>{class a{constructor(i){this.i18n=i,this.navigation=Za,this.months=[],this.navigate=new r.vpe,this.select=new r.vpe}onClickPrev(i){i.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(i){i.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(la))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[r.jDz],decls:8,vars:4,consts:function(){let p,i,d,y;return p=$localize`:@@ngb.datepicker.previous-month:Previous month`,i=$localize`:@@ngb.datepicker.previous-month:Previous month`,d=$localize`:@@ngb.datepicker.next-month:Next month`,y=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",p,"title",i,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",d,"title",y,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(i,d){1&i&&(r.TgZ(0,"div",0)(1,"button",1),r.NdJ("click",function(O){return d.onClickPrev(O)}),r._UZ(2,"span",2),r.qZA()(),r.YNc(3,wr,1,4,"ngb-datepicker-navigation-select",3),r.YNc(4,Gi,1,1,null,4),r.TgZ(5,"div",5)(6,"button",6),r.NdJ("click",function(O){return d.onClickNext(O)}),r._UZ(7,"span",2),r.qZA()()),2&i&&(r.xp6(1),r.Q6J("disabled",d.prevDisabled),r.xp6(2),r.Q6J("ngIf",d.showSelect),r.xp6(1),r.Q6J("ngIf",!d.showSelect),r.xp6(2),r.Q6J("disabled",d.nextDisabled))},dependencies:[Se.O5,Se.ax,Su],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),a})();var Bn=(()=>{return(a=Bn||(Bn={}))[a.Tab=9]="Tab",a[a.Enter=13]="Enter",a[a.Escape=27]="Escape",a[a.Space=32]="Space",a[a.PageUp=33]="PageUp",a[a.PageDown=34]="PageDown",a[a.End=35]="End",a[a.Home=36]="Home",a[a.ArrowLeft=37]="ArrowLeft",a[a.ArrowUp=38]="ArrowUp",a[a.ArrowRight=39]="ArrowRight",a[a.ArrowDown=40]="ArrowDown",Bn;var a})();let ad=(()=>{class a{processKey(i,d){const{state:y,calendar:O}=d;switch(i.which){case Bn.PageUp:d.focusDate(O.getPrev(y.focusedDate,i.shiftKey?"y":"m",1));break;case Bn.PageDown:d.focusDate(O.getNext(y.focusedDate,i.shiftKey?"y":"m",1));break;case Bn.End:d.focusDate(i.shiftKey?y.maxDate:y.lastDate);break;case Bn.Home:d.focusDate(i.shiftKey?y.minDate:y.firstDate);break;case Bn.ArrowLeft:d.focusDate(O.getPrev(y.focusedDate,"d",1));break;case Bn.ArrowUp:d.focusDate(O.getPrev(y.focusedDate,"d",O.getDaysPerWeek()));break;case Bn.ArrowRight:d.focusDate(O.getNext(y.focusedDate,"d",1));break;case Bn.ArrowDown:d.focusDate(O.getNext(y.focusedDate,"d",O.getDaysPerWeek()));break;case Bn.Enter:case Bn.Space:d.focusSelect();break;default:return}i.preventDefault(),i.stopPropagation()}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),ou=(()=>{class a{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=Se.Tn.Short}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Xa=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:function(){return function Rl(){return new Mu}()},providedIn:"root"}),a})(),Mu=(()=>{class a extends Xa{fromModel(i){return i&&Nn(i.year)&&Nn(i.month)&&Nn(i.day)?{year:i.year,month:i.month,day:i.day}:null}toModel(i){return i&&Nn(i.year)&&Nn(i.month)&&Nn(i.day)?{year:i.year,month:i.month,day:i.day}:null}}return a.\u0275fac=function(){let p;return function(d){return(p||(p=r.n5z(a)))(d||a)}}(),a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac}),a})(),Nu=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),a})(),Pl=(()=>{class a{constructor(i,d,y,O){this.i18n=i,this.datepicker=d,this._keyboardService=y,this._service=O}set month(i){this.viewModel=this._service.getMonth(i)}onKeyDown(i){this._keyboardService.processKey(i,this.datepicker)}doSelect(i){!i.context.disabled&&!i.hidden&&this.datepicker.onDateSelect(i.date)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(la),r.Y36((0,r.Gpc)(()=>Po)),r.Y36(ad),r.Y36(Aa))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(i,d){1&i&&r.NdJ("keydown",function(O){return d.onKeyDown(O)})},inputs:{month:"month"},standalone:!0,features:[r.jDz],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,d){1&i&&(r.YNc(0,dn,3,2,"div",0),r.YNc(1,A,1,1,"ng-template",1)),2&i&&(r.Q6J("ngIf",d.viewModel.weekdays.length>0),r.xp6(1),r.Q6J("ngForOf",d.viewModel.weeks))},dependencies:[Se.O5,Se.ax,Se.tP],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),a})(),Po=(()=>{class a{constructor(i,d,y,O,Z,ue,_e,Be){this._service=i,this._calendar=d,this._i18n=y,this._elementRef=ue,this._ngbDateAdapter=_e,this._ngZone=Be,this.injector=(0,r.f3M)(r.zs3),this._controlValue=null,this._destroyed$=new ve.x,this._publicState={},this.navigate=new r.vpe,this.dateSelect=new r.vpe,this.onChange=Ye=>{},this.onTouched=()=>{},["contentTemplate","dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(Ye=>this[Ye]=O[Ye]),i.dateSelect$.pipe((0,gt.R)(this._destroyed$)).subscribe(Ye=>{this.dateSelect.emit(Ye)}),i.model$.pipe((0,gt.R)(this._destroyed$)).subscribe(Ye=>{const Gt=Ye.firstDate,Tt=this.model?this.model.firstDate:null;this._publicState={maxDate:Ye.maxDate,minDate:Ye.minDate,firstDate:Ye.firstDate,lastDate:Ye.lastDate,focusedDate:Ye.focusDate,months:Ye.months.map(Gn=>Gn.firstDate)};let Ut=!1;if(!Gt.equals(Tt)&&(this.navigate.emit({current:Tt?{year:Tt.year,month:Tt.month}:null,next:{year:Gt.year,month:Gt.month},preventDefault:()=>Ut=!0}),Ut&&null!==Tt))return void this._service.open(Tt);const Vn=Ye.selectedDate,gn=Ye.focusDate,Tn=this.model?this.model.focusDate:null;this.model=Ye,q(Vn,this._controlValue)&&(this._controlValue=Vn,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(Vn))),q(gn,Tn)&&Tn&&Ye.focusVisible&&this.focus(),Z.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}get i18n(){return this._i18n}focusDate(i){this._service.focus(U.from(i))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe((0,jt.q)(1)).subscribe(()=>{const i=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');i&&i.focus()})}navigateTo(i){this._service.open(U.from(i?i.day?i:{...i,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const i=Ue(this._contentEl.nativeElement,"focusin"),d=Ue(this._contentEl.nativeElement,"focusout"),{nativeElement:y}=this._elementRef;(0,qt.T)(i,d).pipe((0,Qt.h)(({target:O,relatedTarget:Z})=>!(Sa(O,"ngb-dp-day")&&Sa(Z,"ngb-dp-day")&&y.contains(O)&&y.contains(Z))),(0,gt.R)(this._destroyed$)).subscribe(({type:O})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===O})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const i={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(d=>i[d]=this[d]),this._service.set(i),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(i){const d={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(y=>y in i).forEach(y=>d[y]=this[y]),this._service.set(d),"startDate"in i){const{currentValue:y,previousValue:O}=i.startDate;De(O,y)&&this.navigateTo(this.startDate)}}onDateSelect(i){this._service.focus(i),this._service.select(i,{emitEvent:!0})}onNavigateDateSelect(i){this._service.open(i)}onNavigateEvent(i){switch(i){case Za.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case Za.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this._service.set({disabled:i})}writeValue(i){this._controlValue=U.from(this._ngbDateAdapter.fromModel(i)),this._service.select(this._controlValue)}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(Aa),r.Y36(Ka),r.Y36(la),r.Y36(ou),r.Y36(r.sBO),r.Y36(r.SBq),r.Y36(Xa),r.Y36(r.R0b))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-datepicker"]],contentQueries:function(i,d,y){if(1&i&&r.Suo(y,Nu,7),2&i){let O;r.iGM(O=r.CRH())&&(d.contentTemplateFromContent=O.first)}},viewQuery:function(i,d){if(1&i&&(r.Gf(S,7),r.Gf(W,7)),2&i){let y;r.iGM(y=r.CRH())&&(d._defaultDayTemplate=y.first),r.iGM(y=r.CRH())&&(d._contentEl=y.first)}},hostVars:2,hostBindings:function(i,d){2&i&&r.ekj("disabled",d.model.disabled)},inputs:{contentTemplate:"contentTemplate",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[r._Bn([{provide:zt.JU,useExisting:(0,r.Gpc)(()=>a),multi:!0},Aa]),r.TTD,r.jDz],decls:10,vars:9,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet","ngTemplateOutletContext","ngTemplateOutletInjector"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(i,d){if(1&i&&(r.YNc(0,ne,1,5,"ng-template",null,0,r.W1O),r.YNc(2,Jr,1,1,"ng-template",null,1,r.W1O),r.TgZ(4,"div",2),r.YNc(5,gr,1,7,"ngb-datepicker-navigation",3),r.qZA(),r.TgZ(6,"div",4,5),r.YNc(8,yo,0,0,"ng-template",6),r.qZA(),r.YNc(9,zi,0,0,"ng-template",7)),2&i){const y=r.MAs(3);r.xp6(5),r.Q6J("ngIf","none"!==d.navigation),r.xp6(1),r.ekj("ngb-dp-months",!d.contentTemplate),r.xp6(2),r.Q6J("ngTemplateOutlet",d.contentTemplate||(null==d.contentTemplateFromContent?null:d.contentTemplateFromContent.templateRef)||y)("ngTemplateOutletContext",r.VKq(7,Ir,d))("ngTemplateOutletInjector",d.injector),r.xp6(1),r.Q6J("ngTemplateOutlet",d.footerTemplate)}},dependencies:[Se.O5,Se.ax,Se.tP,ac,Pl,Qa],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),a})();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const Ou=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function uc(a){const p=Array.from(a.querySelectorAll(Ou)).filter(i=>-1!==i.tabIndex);return[p[0],p[p.length-1]]}new Date(1882,10,12),new Date(2174,10,25);let Hu=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[Po,Pl]}),a})(),ul=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({}),a})();class ks{constructor(p,i,d){this.nodes=p,this.viewRef=i,this.componentRef=d}}let Dd=(()=>{class a{constructor(i,d){this._el=i,this._zone=d}ngOnInit(){this._zone.onStable.asObservable().pipe((0,jt.q)(1)).subscribe(()=>{zr(this._zone,this._el.nativeElement,(i,d)=>{d&&Rr(i),i.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return zr(this._zone,this._el.nativeElement,({classList:i})=>i.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.SBq),r.Y36(r.R0b))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,d){2&i&&(r.Tol("modal-backdrop"+(d.backdropClass?" "+d.backdropClass:"")),r.ekj("show",!d.animation)("fade",d.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[r.jDz],decls:0,vars:0,template:function(i,d){},encapsulation:2}),a})();class Ul{update(p){}close(p){}dismiss(p){}}const wd=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],ju=["animation","backdropClass"];class $u{constructor(p,i,d,y){this._windowCmptRef=p,this._contentRef=i,this._backdropCmptRef=d,this._beforeDismiss=y,this._closed=new ve.x,this._dismissed=new ve.x,this._hidden=new ve.x,p.instance.dismissEvent.subscribe(O=>{this.dismiss(O)}),this.result=new Promise((O,Z)=>{this._resolve=O,this._reject=Z}),this.result.then(null,()=>{})}_applyWindowOptions(p,i){wd.forEach(d=>{nr(i[d])&&(p[d]=i[d])})}_applyBackdropOptions(p,i){ju.forEach(d=>{nr(i[d])&&(p[d]=i[d])})}update(p){this._applyWindowOptions(this._windowCmptRef.instance,p),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,p)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,gt.R)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,gt.R)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(p){this._windowCmptRef&&(this._closed.next(p),this._resolve(p),this._removeModalElements())}_dismiss(p){this._dismissed.next(p),this._reject(p),this._removeModalElements()}dismiss(p){if(this._windowCmptRef)if(this._beforeDismiss){const i=this._beforeDismiss();!function ea(a){return a&&a.then}(i)?!1!==i&&this._dismiss(p):i.then(d=>{!1!==d&&this._dismiss(p)},()=>{})}else this._dismiss(p)}_removeModalElements(){const p=this._windowCmptRef.instance.hide(),i=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,de.of)(void 0);p.subscribe(()=>{const{nativeElement:d}=this._windowCmptRef.location;d.parentNode.removeChild(d),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),i.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:d}=this._backdropCmptRef.location;d.parentNode.removeChild(d),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Ge(p,i).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Ls=(()=>{return(a=Ls||(Ls={}))[a.BACKDROP_CLICK=0]="BACKDROP_CLICK",a[a.ESC=1]="ESC",Ls;var a})();let lo=(()=>{class a{constructor(i,d,y){this._document=i,this._elRef=d,this._zone=y,this._closed$=new ve.x,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.vpe,this.shown=new ve.x,this.hidden=new ve.x}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Wo(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(i){this.dismissEvent.emit(i)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe((0,jt.q)(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:i}=this._elRef,d={animation:this.animation,runningTransition:"stop"},Z=Ge(zr(this._zone,i,()=>i.classList.remove("show"),d),zr(this._zone,this._dialogEl.nativeElement,()=>{},d));return Z.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),Z}_show(){const i={animation:this.animation,runningTransition:"continue"};Ge(zr(this._zone,this._elRef.nativeElement,(O,Z)=>{Z&&Rr(O),O.classList.add("show")},i),zr(this._zone,this._dialogEl.nativeElement,()=>{},i)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:i}=this._elRef;this._zone.runOutsideAngular(()=>{Ue(i,"keydown").pipe((0,gt.R)(this._closed$),(0,Qt.h)(y=>y.which===Bn.Escape)).subscribe(y=>{this.keyboard?requestAnimationFrame(()=>{y.defaultPrevented||this._zone.run(()=>this.dismiss(Ls.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let d=!1;Ue(this._dialogEl.nativeElement,"mousedown").pipe((0,gt.R)(this._closed$),(0,Ke.b)(()=>d=!1),(0,Ce.w)(()=>Ue(i,"mouseup").pipe((0,gt.R)(this._closed$),(0,jt.q)(1))),(0,Qt.h)(({target:y})=>i===y)).subscribe(()=>{d=!0}),Ue(i,"click").pipe((0,gt.R)(this._closed$)).subscribe(({target:y})=>{i===y&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!d&&this._zone.run(()=>this.dismiss(Ls.BACKDROP_CLICK))),d=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:i}=this._elRef;if(!i.contains(document.activeElement)){const d=i.querySelector("[ngbAutofocus]"),y=uc(i)[0];(d||y||i).focus()}}_restoreFocus(){const i=this._document.body,d=this._elWithFocus;let y;y=d&&d.focus&&i.contains(d)?d:i,this._zone.runOutsideAngular(()=>{setTimeout(()=>y.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&zr(this._zone,this._elRef.nativeElement,({classList:i})=>(i.add("modal-static"),()=>i.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(Se.K0),r.Y36(r.SBq),r.Y36(r.R0b))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-modal-window"]],viewQuery:function(i,d){if(1&i&&r.Gf(mr,7),2&i){let y;r.iGM(y=r.CRH())&&(d._dialogEl=y.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,d){2&i&&(r.uIk("aria-modal",!0)("aria-labelledby",d.ariaLabelledBy)("aria-describedby",d.ariaDescribedBy),r.Tol("modal d-block"+(d.windowClass?" "+d.windowClass:"")),r.ekj("fade",d.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[r.jDz],ngContentSelectors:mo,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(i,d){1&i&&(r.F$t(),r.TgZ(0,"div",0,1)(2,"div",2),r.Hsn(3),r.qZA()()),2&i&&r.Tol("modal-dialog"+(d.size?" modal-"+d.size:"")+(d.centered?" modal-dialog-centered":"")+d.fullscreenClass+(d.scrollable?" modal-dialog-scrollable":"")+(d.modalDialogClass?" "+d.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),a})(),Zo=(()=>{class a{constructor(i){this._document=i}hide(){const i=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),d=this._document.body,y=d.style,{overflow:O,paddingRight:Z}=y;if(i>0){const ue=parseFloat(window.getComputedStyle(d).paddingRight);y.paddingRight=`${ue+i}px`}return y.overflow="hidden",()=>{i>0&&(y.paddingRight=Z),y.overflow=O}}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(Se.K0))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Ed=(()=>{class a{constructor(i,d,y,O,Z,ue,_e){this._applicationRef=i,this._injector=d,this._environmentInjector=y,this._document=O,this._scrollBar=Z,this._rendererFactory=ue,this._ngZone=_e,this._activeWindowCmptHasChanged=new ve.x,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new r.vpe,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const Be=this._windowCmpts[this._windowCmpts.length-1];((a,p,i,d=!1)=>{a.runOutsideAngular(()=>{const y=Ue(p,"focusin").pipe((0,gt.R)(i),(0,Cn.U)(O=>O.target));Ue(p,"keydown").pipe((0,gt.R)(i),(0,Qt.h)(O=>O.which===Bn.Tab),wt(y)).subscribe(([O,Z])=>{const[ue,_e]=uc(p);(Z===ue||Z===p)&&O.shiftKey&&(_e.focus(),O.preventDefault()),Z===_e&&!O.shiftKey&&(ue.focus(),O.preventDefault())}),d&&Ue(p,"click").pipe((0,gt.R)(i),wt(y),(0,Cn.U)(O=>O[1])).subscribe(O=>O.focus())})})(this._ngZone,Be.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(Be.location.nativeElement)}})}_restoreScrollBar(){const i=this._scrollBarRestoreFn;i&&(this._scrollBarRestoreFn=null,i())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(i,d,y){const O=y.container instanceof HTMLElement?y.container:nr(y.container)?this._document.querySelector(y.container):this._document.body,Z=this._rendererFactory.createRenderer(null,null);if(!O)throw new Error(`The specified modal container "${y.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const ue=new Ul,_e=(i=y.injector||i).get(r.lqb,null)||this._environmentInjector,Be=this._getContentRef(i,_e,d,ue,y);let Ye=!1!==y.backdrop?this._attachBackdrop(O):void 0,Gt=this._attachWindowComponent(O,Be.nodes),Tt=new $u(Gt,Be,Ye,y.beforeDismiss);return this._registerModalRef(Tt),this._registerWindowCmpt(Gt),Tt.hidden.pipe((0,jt.q)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(Z.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),ue.close=Ut=>{Tt.close(Ut)},ue.dismiss=Ut=>{Tt.dismiss(Ut)},ue.update=Ut=>{Tt.update(Ut)},Tt.update(y),1===this._modalRefs.length&&Z.addClass(this._document.body,"modal-open"),Ye&&Ye.instance&&Ye.changeDetectorRef.detectChanges(),Gt.changeDetectorRef.detectChanges(),Tt}get activeInstances(){return this._activeInstances}dismissAll(i){this._modalRefs.forEach(d=>d.dismiss(i))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(i){let d=(0,r.LMc)(Dd,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(d.hostView),i.appendChild(d.location.nativeElement),d}_attachWindowComponent(i,d){let y=(0,r.LMc)(lo,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:d});return this._applicationRef.attachView(y.hostView),i.appendChild(y.location.nativeElement),y}_getContentRef(i,d,y,O,Z){return y?y instanceof r.Rgc?this._createFromTemplateRef(y,O):Wo(y)?this._createFromString(y):this._createFromComponent(i,d,y,O,Z):new ks([])}_createFromTemplateRef(i,d){const O=i.createEmbeddedView({$implicit:d,close(Z){d.close(Z)},dismiss(Z){d.dismiss(Z)}});return this._applicationRef.attachView(O),new ks([O.rootNodes],O)}_createFromString(i){const d=this._document.createTextNode(`${i}`);return new ks([[d]])}_createFromComponent(i,d,y,O,Z){const ue=r.zs3.create({providers:[{provide:Ul,useValue:O}],parent:i}),_e=(0,r.LMc)(y,{environmentInjector:d,elementInjector:ue}),Be=_e.location.nativeElement;return Z.scrollable&&Be.classList.add("component-host-scrollable"),this._applicationRef.attachView(_e.hostView),new ks([[Be]],_e.hostView,_e)}_setAriaHidden(i){const d=i.parentElement;d&&i!==this._document.body&&(Array.from(d.children).forEach(y=>{y!==i&&"SCRIPT"!==y.nodeName&&(this._ariaHiddenValues.set(y,y.getAttribute("aria-hidden")),y.setAttribute("aria-hidden","true"))}),this._setAriaHidden(d))}_revertAriaHidden(){this._ariaHiddenValues.forEach((i,d)=>{i?d.setAttribute("aria-hidden",i):d.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(i){const d=()=>{const y=this._modalRefs.indexOf(i);y>-1&&(this._modalRefs.splice(y,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(i),this._activeInstances.emit(this._modalRefs),i.result.then(d,d)}_registerWindowCmpt(i){this._windowCmpts.push(i),this._activeWindowCmptHasChanged.next(),i.onDestroy(()=>{const d=this._windowCmpts.indexOf(i);d>-1&&(this._windowCmpts.splice(d,1),this._activeWindowCmptHasChanged.next())})}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(r.z2F),r.LFG(r.zs3),r.LFG(r.lqb),r.LFG(Se.K0),r.LFG(Zo),r.LFG(r.FYo),r.LFG(r.R0b))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Cc=(()=>{class a{constructor(i){this._ngbConfig=i,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(i){this._animation=i}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(_s))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Tc=(()=>{class a{constructor(i,d,y){this._injector=i,this._modalStack=d,this._config=y}open(i,d={}){const y={...this._config,animation:this._config.animation,...d};return this._modalStack.open(this._injector,i,y)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(i){this._modalStack.dismissAll(i)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(r.zs3),r.LFG(Ed),r.LFG(Cc))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Sc=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({providers:[Tc]}),a})();const Td=({classList:a})=>(a.remove("show"),()=>a.remove("active")),Nc=(a,p)=>{p&&Rr(a),a.classList.add("show")};let dl=(()=>{class a{constructor(i){this.elRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.SBq))},a.\u0275dir=r.lG2({type:a,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(i,d){2&i&&(r.Ikx("id",d.item.panelDomId),r.uIk("role",d.role?d.role:d.nav.roles?"tabpanel":void 0)("aria-labelledby",d.item.domId),r.ekj("fade",d.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),a})(),Gu=(()=>{class a{constructor(i,d){this._cd=i,this._ngZone=d,this._activePane=null}isPanelTransitioning(i){return this._activePane?.item===i}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe((0,gt.R)(this.nav.destroy$),(0,Xt.O)(this._activePane?.item||null),oe(),function dt(a){return(0,Qt.h)((p,i)=>a<=i)}(1)).subscribe(i=>{const d={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?zr(this._ngZone,this._activePane.elRef.nativeElement,Td,d).subscribe(()=>{const y=this._activePane?.item;this._activePane=this._getPaneForItem(i),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),zr(this._ngZone,this._activePane.elRef.nativeElement,Nc,d).subscribe(()=>{i&&(i.shown.emit(),this.nav.shown.emit(i.id))})),y&&(y.hidden.emit(),this.nav.hidden.emit(y.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(i){return this._panes&&this._panes.find(d=>d.item===i)||null}_getActivePane(){return this._panes&&this._panes.find(i=>i.item.active)||null}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.sBO),r.Y36(r.R0b))},a.\u0275cmp=r.Xpm({type:a,selectors:[["","ngbNavOutlet",""]],viewQuery:function(i,d){if(1&i&&r.Gf(dl,5),2&i){let y;r.iGM(y=r.CRH())&&(d._panes=y)}},hostVars:2,hostBindings:function(i,d){2&i&&r.ekj("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[r.jDz],attrs:io,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,d){1&i&&r.YNc(0,us,1,1,"ng-template",0),2&i&&r.Q6J("ngForOf",d.nav.items)},dependencies:[dl,Se.ax,Se.O5,Se.tP],encapsulation:2,changeDetection:0}),a})(),ga=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[Gu]}),a})(),Sd=(()=>{class a{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Oc=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0}),a})(),Ac=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0}),a})(),Ic=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0}),a})(),Rc=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0}),a})(),Pc=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0}),a})(),hu=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0}),a})(),pu=(()=>{class a{constructor(i){this.templateRef=i}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(r.Rgc))},a.\u0275dir=r.lG2({type:a,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0}),a})(),zu=(()=>{class a{constructor(i){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new r.vpe(!0),this.disabled=i.disabled,this.boundaryLinks=i.boundaryLinks,this.directionLinks=i.directionLinks,this.ellipses=i.ellipses,this.maxSize=i.maxSize,this.pageSize=i.pageSize,this.rotate=i.rotate,this.size=i.size}hasPrevious(){return this.page>1}hasNext(){return this.page0&&(i>2?this.pages.unshift(-1):2===i&&this.pages.unshift(2),this.pages.unshift(1)),d0&&this.pageCount>this.maxSize){let d=0,y=this.pageCount;[d,y]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(d,y),this._applyEllipses(d,y)}}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(Sd))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-pagination"]],contentQueries:function(i,d,y){if(1&i&&(r.Suo(y,Oc,5),r.Suo(y,Ac,5),r.Suo(y,Ic,5),r.Suo(y,Rc,5),r.Suo(y,Pc,5),r.Suo(y,hu,5),r.Suo(y,pu,5)),2&i){let O;r.iGM(O=r.CRH())&&(d.tplEllipsis=O.first),r.iGM(O=r.CRH())&&(d.tplFirst=O.first),r.iGM(O=r.CRH())&&(d.tplLast=O.first),r.iGM(O=r.CRH())&&(d.tplNext=O.first),r.iGM(O=r.CRH())&&(d.tplNumber=O.first),r.iGM(O=r.CRH())&&(d.tplPrevious=O.first),r.iGM(O=r.CRH())&&(d.tplPages=O.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[r.TTD,r.jDz],decls:20,vars:12,consts:function(){let p,i,d,y,O,Z,ue,_e;return p=$localize`:@@ngb.pagination.first:««`,i=$localize`:@@ngb.pagination.previous:«`,d=$localize`:@@ngb.pagination.next:»`,y=$localize`:@@ngb.pagination.last:»»`,O=$localize`:@@ngb.pagination.first-aria:First`,Z=$localize`:@@ngb.pagination.previous-aria:Previous`,ue=$localize`:@@ngb.pagination.next-aria:Next`,_e=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],p,i,d,y,["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",O,"href","",1,"page-link",3,"click"],["aria-label",Z,"href","",1,"page-link",3,"click"],["aria-label",ue,"href","",1,"page-link",3,"click"],["aria-label",_e,"href","",1,"page-link",3,"click"]]},template:function(i,d){if(1&i&&(r.YNc(0,oi,2,0,"ng-template",null,0,r.W1O),r.YNc(2,si,2,0,"ng-template",null,1,r.W1O),r.YNc(4,qs,2,0,"ng-template",null,2,r.W1O),r.YNc(6,bo,2,0,"ng-template",null,3,r.W1O),r.YNc(8,Zr,1,0,"ng-template",null,4,r.W1O),r.YNc(10,ja,1,1,"ng-template",null,5,r.W1O),r.YNc(12,Zs,1,1,"ng-template",null,6,r.W1O),r.TgZ(14,"ul"),r.YNc(15,Qr,3,9,"li",7),r.YNc(16,Ms,3,8,"li",7),r.YNc(17,Qs,0,0,"ng-template",8),r.YNc(18,Ca,3,9,"li",7),r.YNc(19,Fi,3,9,"li",7),r.qZA()),2&i){const y=r.MAs(13);r.xp6(14),r.Tol("pagination"+(d.size?" pagination-"+d.size:"")),r.xp6(1),r.Q6J("ngIf",d.boundaryLinks),r.xp6(1),r.Q6J("ngIf",d.directionLinks),r.xp6(1),r.Q6J("ngTemplateOutlet",(null==d.tplPages?null:d.tplPages.templateRef)||y)("ngTemplateOutletContext",r.kEZ(8,fr,d.page,d.pages,d.disabled)),r.xp6(1),r.Q6J("ngIf",d.directionLinks),r.xp6(1),r.Q6J("ngIf",d.boundaryLinks)}},dependencies:[Se.O5,Se.ax,Se.tP],encapsulation:2,changeDetection:0}),a})(),Md=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[zu]}),a})(),D=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({}),a})(),M=(()=>{class a{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),x=(()=>{class a{constructor(i){this.value=0,this.max=i.max,this.animated=i.animated,this.ariaLabel=i.ariaLabel,this.striped=i.striped,this.textType=i.textType,this.type=i.type,this.showValue=i.showValue,this.height=i.height}set max(i){this._max=!Cr(i)||i<=0?100:i}get max(){return this._max}getValue(){return ps(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(M))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-progressbar"]],hostAttrs:["role","progressbar","aria-valuemin","0",1,"progress"],hostVars:5,hostBindings:function(i,d){2&i&&(r.uIk("aria-valuenow",d.getValue())("aria-valuemax",d.max)("aria-label",d.ariaLabel),r.Udp("height",d.height))},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[r.jDz],ngContentSelectors:mo,decls:3,vars:11,consts:function(){let p;return p=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[4,"ngIf"],p]},template:function(i,d){1&i&&(r.F$t(),r.TgZ(0,"div"),r.YNc(1,El,3,3,"span",0),r.Hsn(2),r.qZA()),2&i&&(r.MT6("progress-bar",d.type?d.textType?" bg-"+d.type:" text-bg-"+d.type:"","",d.textType?" text-"+d.textType:"",""),r.Udp("width",d.getPercentValue(),"%"),r.ekj("progress-bar-animated",d.animated)("progress-bar-striped",d.striped),r.xp6(1),r.Q6J("ngIf",d.showValue))},dependencies:[Se.O5,Se.Zx],encapsulation:2,changeDetection:0}),a})(),G=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[x]}),a})(),Q=(()=>{class a{constructor(){this.max=10,this.readonly=!1,this.resettable=!1,this.tabindex=0}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),ge=(()=>{class a{constructor(i,d){this._changeDetectorRef=d,this.contexts=[],this.disabled=!1,this.hover=new r.vpe,this.leave=new r.vpe,this.rateChange=new r.vpe(!0),this.onChange=y=>{},this.onTouched=()=>{},this.max=i.max,this.readonly=i.readonly,this.tabindex=i.tabindex}ariaValueText(i,d){return`${i} out of ${d}`}isInteractive(){return!this.readonly&&!this.disabled}enter(i){this.isInteractive()&&this._updateState(i),this.hover.emit(i)}handleBlur(){this.onTouched()}handleClick(i){this.isInteractive()&&this.update(this.resettable&&this.rate===i?0:i)}handleKeyDown(i){switch(i.which){case Bn.ArrowDown:case Bn.ArrowLeft:this.update(this.rate-1);break;case Bn.ArrowUp:case Bn.ArrowRight:this.update(this.rate+1);break;case Bn.Home:this.update(0);break;case Bn.End:this.update(this.max);break;default:return}i.preventDefault()}ngOnChanges(i){i.rate&&this.update(this.rate),i.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(i){this.disabled=i}update(i,d=!0){const y=ps(i,this.max,0);this.isInteractive()&&this.rate!==y&&(this.rate=y,this.rateChange.emit(this.rate)),d&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(i){this.update(i,!1),this._changeDetectorRef.markForCheck()}_updateState(i){this.nextRate=i,this.contexts.forEach((d,y)=>d.fill=Math.round(100*ps(i-y,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(i,d)=>({fill:0,index:d}))}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(Q),r.Y36(r.sBO))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-rating"]],contentQueries:function(i,d,y){if(1&i&&r.Suo(y,r.Rgc,5),2&i){let O;r.iGM(O=r.CRH())&&(d.starTemplateFromContent=O.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(i,d){1&i&&r.NdJ("blur",function(){return d.handleBlur()})("keydown",function(O){return d.handleKeyDown(O)})("mouseleave",function(){return d.reset()}),2&i&&(r.Ikx("tabindex",d.disabled?-1:d.tabindex),r.uIk("aria-valuemax",d.max)("aria-valuenow",d.nextRate)("aria-valuetext",d.ariaValueText(d.nextRate,d.max))("aria-disabled",!!d.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate",tabindex:"tabindex",ariaValueText:"ariaValueText"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},standalone:!0,features:[r._Bn([{provide:zt.JU,useExisting:(0,r.Gpc)(()=>a),multi:!0}]),r.TTD,r.jDz],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,d){1&i&&(r.YNc(0,Ga,1,1,"ng-template",null,0,r.W1O),r.YNc(2,k,4,5,"ng-template",1)),2&i&&(r.xp6(2),r.Q6J("ngForOf",d.contexts))},dependencies:[Se.ax,Se.tP],encapsulation:2,changeDetection:0}),a})(),Le=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[ge]}),a})();class ct{constructor(p,i,d){this.hour=ti(p),this.minute=ti(i),this.second=ti(d)}changeHour(p=1){this.updateHour((isNaN(this.hour)?0:this.hour)+p)}updateHour(p){this.hour=Cr(p)?(p<0?24+p:p)%24:NaN}changeMinute(p=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+p)}updateMinute(p){Cr(p)?(this.minute=p%60<0?60+p%60:p%60,this.changeHour(Math.floor(p/60))):this.minute=NaN}changeSecond(p=1){this.updateSecond((isNaN(this.second)?0:this.second)+p)}updateSecond(p){Cr(p)?(this.second=p<0?60+p%60:p%60,this.changeMinute(Math.floor(p/60))):this.second=NaN}isValid(p=!0){return Cr(this.hour)&&Cr(this.minute)&&(!p||Cr(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let St=(()=>{class a{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),Nt=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:function(){return function yt(){return new On}()},providedIn:"root"}),a})(),On=(()=>{class a extends Nt{fromModel(i){return i&&Nn(i.hour)&&Nn(i.minute)?{hour:i.hour,minute:i.minute,second:Nn(i.second)?i.second:null}:null}toModel(i){return i&&Nn(i.hour)&&Nn(i.minute)?{hour:i.hour,minute:i.minute,second:Nn(i.second)?i.second:null}:null}}return a.\u0275fac=function(){let p;return function(d){return(p||(p=r.n5z(a)))(d||a)}}(),a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac}),a})(),_r=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275prov=r.Yz7({token:a,factory:function(i){let d=null;return d=i?new i:function ln(a){return new Ji(a)}(r.LFG(r.soG)),d},providedIn:"root"}),a})(),Ji=(()=>{class a extends _r{constructor(i){super(),this._periods=(0,Se.ol)(i,Se.x.Standalone,Se.Tn.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(r.soG))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac}),a})();const li=/[^0-9]/g;let _a=(()=>{class a{constructor(i,d,y,O){this._config=i,this._ngbTimeAdapter=d,this._cd=y,this.i18n=O,this.onChange=Z=>{},this.onTouched=()=>{},this.meridian=i.meridian,this.spinners=i.spinners,this.seconds=i.seconds,this.hourStep=i.hourStep,this.minuteStep=i.minuteStep,this.secondStep=i.secondStep,this.disabled=i.disabled,this.readonlyInputs=i.readonlyInputs,this.size=i.size}set hourStep(i){this._hourStep=Nn(i)?i:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(i){this._minuteStep=Nn(i)?i:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(i){this._secondStep=Nn(i)?i:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(i){const d=this._ngbTimeAdapter.fromModel(i);this.model=d?new ct(d.hour,d.minute,d.second):new ct,!this.seconds&&(!d||!Cr(d.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(i){this.onChange=i}registerOnTouched(i){this.onTouched=i}setDisabledState(i){this.disabled=i}changeHour(i){this.model?.changeHour(i),this.propagateModelChange()}changeMinute(i){this.model?.changeMinute(i),this.propagateModelChange()}changeSecond(i){this.model?.changeSecond(i),this.propagateModelChange()}updateHour(i){const d=!!this.model&&this.model.hour>=12,y=ti(i);this.model?.updateHour(this.meridian&&(d&&y<12||!d&&12===y)?y+12:y),this.propagateModelChange()}updateMinute(i){this.model?.updateMinute(ti(i)),this.propagateModelChange()}updateSecond(i){this.model?.updateSecond(ti(i)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(i){i.value=i.value.replace(li,"")}formatHour(i){return Cr(i)?ai(this.meridian?i%12==0?12:i%12:i%24):ai(NaN)}formatMinSec(i){return ai(Cr(i)?i:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(i){i.seconds&&!this.seconds&&this.model&&!Cr(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(i=!0){i&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return a.\u0275fac=function(i){return new(i||a)(r.Y36(St),r.Y36(Nt),r.Y36(r.sBO),r.Y36(_r))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[r._Bn([{provide:zt.JU,useExisting:(0,r.Gpc)(()=>a),multi:!0}]),r.TTD,r.jDz],decls:16,vars:25,consts:function(){let p,i,d,y,O,Z,ue,_e,Be,Ye,Gt,Tt,Ut,Vn;return p=$localize`:@@ngb.timepicker.HH:HH`,i=$localize`:@@ngb.timepicker.hours:Hours`,d=$localize`:@@ngb.timepicker.MM:MM`,y=$localize`:@@ngb.timepicker.minutes:Minutes`,O=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,Z=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,ue=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,_e=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,Be=$localize`:@@ngb.timepicker.SS:SS`,Ye=$localize`:@@ngb.timepicker.seconds:Seconds`,Gt=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,Tt=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,Ut=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,Vn=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",p,"aria-label",i,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",d,"aria-label",y,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],O,[1,"chevron","ngb-tp-chevron","bottom"],Z,ue,_e,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",Be,"aria-label",Ye,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],Gt,Tt,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],Ut,Vn]},template:function(i,d){1&i&&(r.TgZ(0,"fieldset",0)(1,"div",1)(2,"div",2),r.YNc(3,N,4,7,"button",3),r.TgZ(4,"input",4),r.NdJ("change",function(O){return d.updateHour(O.target.value)})("blur",function(){return d.handleBlur()})("input",function(O){return d.formatInput(O.target)})("keydown.ArrowUp",function(O){return d.changeHour(d.hourStep),O.preventDefault()})("keydown.ArrowDown",function(O){return d.changeHour(-d.hourStep),O.preventDefault()}),r.qZA(),r.YNc(5,j,4,7,"button",3),r.qZA(),r.TgZ(6,"div",5),r._uU(7,":"),r.qZA(),r.TgZ(8,"div",6),r.YNc(9,re,4,7,"button",3),r.TgZ(10,"input",7),r.NdJ("change",function(O){return d.updateMinute(O.target.value)})("blur",function(){return d.handleBlur()})("input",function(O){return d.formatInput(O.target)})("keydown.ArrowUp",function(O){return d.changeMinute(d.minuteStep),O.preventDefault()})("keydown.ArrowDown",function(O){return d.changeMinute(-d.minuteStep),O.preventDefault()}),r.qZA(),r.YNc(11,je,4,7,"button",3),r.qZA(),r.YNc(12,it,2,0,"div",8),r.YNc(13,tr,4,9,"div",9),r.YNc(14,$n,1,0,"div",8),r.YNc(15,ar,5,9,"div",10),r.qZA()()),2&i&&(r.ekj("disabled",d.disabled),r.Q6J("disabled",d.disabled),r.xp6(3),r.Q6J("ngIf",d.spinners),r.xp6(1),r.ekj("form-control-sm",d.isSmallSize)("form-control-lg",d.isLargeSize),r.Q6J("value",d.formatHour(null==d.model?null:d.model.hour))("readOnly",d.readonlyInputs)("disabled",d.disabled),r.xp6(1),r.Q6J("ngIf",d.spinners),r.xp6(4),r.Q6J("ngIf",d.spinners),r.xp6(1),r.ekj("form-control-sm",d.isSmallSize)("form-control-lg",d.isLargeSize),r.Q6J("value",d.formatMinSec(null==d.model?null:d.model.minute))("readOnly",d.readonlyInputs)("disabled",d.disabled),r.xp6(1),r.Q6J("ngIf",d.spinners),r.xp6(1),r.Q6J("ngIf",d.seconds),r.xp6(1),r.Q6J("ngIf",d.seconds),r.xp6(1),r.Q6J("ngIf",d.meridian),r.xp6(1),r.Q6J("ngIf",d.meridian))},dependencies:[Se.O5],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),a})(),Qo=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[_a]}),a})();const Zi=(a,p)=>{const{classList:i}=a;if(p)return i.add("fade"),Rr(a),i.add("show","showing"),()=>{i.remove("showing")};i.add("show")},Bs=({classList:a})=>(a.add("showing"),()=>{a.remove("show","showing")});let Vs=(()=>{class a{constructor(i){this._ngbConfig=i,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(i){this._animation=i}}return a.\u0275fac=function(i){return new(i||a)(r.LFG(_s))},a.\u0275prov=r.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})(),vs=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275dir=r.lG2({type:a,selectors:[["","ngbToastHeader",""]],standalone:!0}),a})(),Nd=(()=>{class a{constructor(i,d,y,O){this.ariaLive=i,this._zone=y,this._element=O,this.contentHeaderTpl=null,this.shown=new r.vpe,this.hidden=new r.vpe,null==this.ariaLive&&(this.ariaLive=d.ariaLive),this.delay=d.delay,this.autohide=d.autohide,this.animation=d.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe((0,jt.q)(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(i){"autohide"in i&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const i=zr(this._zone,this._element.nativeElement,Bs,{animation:this.animation,runningTransition:"stop"});return i.subscribe(()=>{this.hidden.emit()}),i}show(){const i=zr(this._zone,this._element.nativeElement,Zi,{animation:this.animation,runningTransition:"continue"});return i.subscribe(()=>{this.shown.emit()}),i}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}return a.\u0275fac=function(i){return new(i||a)(r.$8M("aria-live"),r.Y36(Vs),r.Y36(r.R0b),r.Y36(r.SBq))},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-toast"]],contentQueries:function(i,d,y){if(1&i&&r.Suo(y,vs,7,r.Rgc),2&i){let O;r.iGM(O=r.CRH())&&(d.contentHeaderTpl=O.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(i,d){2&i&&(r.uIk("aria-live",d.ariaLive),r.ekj("fade",d.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[r.TTD,r.jDz],ngContentSelectors:mo,decls:5,vars:1,consts:function(){let p;return p=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",p,1,"btn-close",3,"click"]]},template:function(i,d){1&i&&(r.F$t(),r.YNc(0,Vr,2,1,"ng-template",null,0,r.W1O),r.YNc(2,Yi,3,1,"ng-template",1),r.TgZ(3,"div",2),r.Hsn(4),r.qZA()),2&i&&(r.xp6(2),r.Q6J("ngIf",d.contentHeaderTpl||d.header))},dependencies:[Se.O5,Se.tP],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2}),a})(),Yl=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[Nd]}),a})(),cn=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({}),a})(),Dn=(()=>{class a{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(i){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const d=Xs(this.result),y=Array.isArray(this.term)?this.term:[this.term],O=Be=>this.accentSensitive?Be:gs(Be),Z=y.map(Be=>function ta(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(O(Xs(Be)))).filter(Be=>Be),ue=this.accentSensitive?d:gs(d),_e=Z.length?ue.split(new RegExp(`(${Z.join("|")})`,"gmi")):[d];if(this.accentSensitive)this.parts=_e;else{let Be=0;this.parts=_e.map(Ye=>d.substring(Be,Be+=Ye.length))}}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=r.Xpm({type:a,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[r.TTD,r.jDz],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(i,d){1&i&&r.YNc(0,qi,3,2,"ng-template",0),2&i&&r.Q6J("ngForOf",d.parts)},dependencies:[Se.O5,Se.ax],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),a})();new r.OlP("live announcer delay",{providedIn:"root",factory:function Qi(){return 100}});let _i=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[Dn]}),a})(),hl=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({}),a})();const _f=[ic,oa,E,P,Hu,ul,Sc,ga,hl,Md,D,G,Le,Qo,Yl,cn,_i];let Rd=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=r.oAB({type:a}),a.\u0275inj=r.cJS({imports:[_f,ic,oa,E,P,Hu,ul,Sc,ga,hl,Md,D,G,Le,Qo,Yl,cn,_i]}),a})()},7185:(kt,$e,V)=>{"use strict";V.d($e,{FM:()=>Lt,Rh:()=>tn,_W:()=>Kt});var r=V(1571),L=V(7340),se=V(6895),de=V(7579),ve=V(1481);const Oe=["toast-component",""];function Pe(fe,Re){if(1&fe){const te=r.EpF();r.TgZ(0,"button",5),r.NdJ("click",function(){r.CHM(te);const Ge=r.oxw();return r.KtG(Ge.remove())}),r.TgZ(1,"span",6),r._uU(2,"\xd7"),r.qZA()()}}function pe(fe,Re){if(1&fe&&(r.ynx(0),r._uU(1),r.BQk()),2&fe){const te=r.oxw(2);r.xp6(1),r.hij("[",te.duplicatesCount+1,"]")}}function ke(fe,Re){if(1&fe&&(r.TgZ(0,"div"),r._uU(1),r.YNc(2,pe,2,1,"ng-container",4),r.qZA()),2&fe){const te=r.oxw();r.Tol(te.options.titleClass),r.uIk("aria-label",te.title),r.xp6(1),r.hij(" ",te.title," "),r.xp6(1),r.Q6J("ngIf",te.duplicatesCount)}}function ae(fe,Re){if(1&fe&&r._UZ(0,"div",7),2&fe){const te=r.oxw();r.Tol(te.options.messageClass),r.Q6J("innerHTML",te.message,r.oJD)}}function we(fe,Re){if(1&fe&&(r.TgZ(0,"div",8),r._uU(1),r.qZA()),2&fe){const te=r.oxw();r.Tol(te.options.messageClass),r.uIk("aria-label",te.message),r.xp6(1),r.hij(" ",te.message," ")}}function xe(fe,Re){if(1&fe&&(r.TgZ(0,"div"),r._UZ(1,"div",9),r.qZA()),2&fe){const te=r.oxw();r.xp6(1),r.Udp("width",te.width+"%")}}let Lt=(()=>{class fe{constructor(te){this.el=te}getContainerElement(){return this.el.nativeElement}}return fe.\u0275fac=function(te){return new(te||fe)(r.Y36(r.SBq))},fe.\u0275dir=r.lG2({type:fe,selectors:[["","toastContainer",""]],exportAs:["toastContainer"],standalone:!0}),fe})();class Mt{constructor(Re,te){this.component=Re,this.injector=te}attach(Re,te){return this._attachedHost=Re,Re.attach(this,te)}detach(){const Re=this._attachedHost;if(Re)return this._attachedHost=void 0,Re.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Re){this._attachedHost=Re}}class me{attach(Re,te){return this._attachedPortal=Re,this.attachComponentPortal(Re,te)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Re){this._disposeFn=Re}}class ce{constructor(Re){this._overlayRef=Re,this.duplicatesCount=0,this._afterClosed=new de.x,this._activate=new de.x,this._manualClose=new de.x,this._resetTimeout=new de.x,this._countDuplicate=new de.x}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Re,te){Re&&this._resetTimeout.next(),te&&this._countDuplicate.next(++this.duplicatesCount)}}class Ie{constructor(Re,te,Te,Ge,qt,et){this.toastId=Re,this.config=te,this.message=Te,this.title=Ge,this.toastType=qt,this.toastRef=et,this._onTap=new de.x,this._onAction=new de.x,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Re){this._onAction.next(Re)}onAction(){return this._onAction.asObservable()}}const _t=new r.OlP("ToastConfig");class ut extends me{constructor(Re,te,Te){super(),this._hostDomElement=Re,this._componentFactoryResolver=te,this._appRef=Te}attachComponentPortal(Re,te){const Te=this._componentFactoryResolver.resolveComponentFactory(Re.component);let Ge;return Ge=Te.create(Re.injector),this._appRef.attachView(Ge.hostView),this.setDisposeFn(()=>{this._appRef.detachView(Ge.hostView),Ge.destroy()}),te?this._hostDomElement.insertBefore(this._getComponentRootNode(Ge),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(Ge)),Ge}_getComponentRootNode(Re){return Re.hostView.rootNodes[0]}}let pt=(()=>{class fe{constructor(){this._document=(0,r.f3M)(se.K0)}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const te=this._document.createElement("div");te.classList.add("overlay-container"),te.setAttribute("aria-live","polite"),this._document.body.appendChild(te),this._containerElement=te}}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275prov=r.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})();class At{constructor(Re){this._portalHost=Re}attach(Re,te=!0){return this._portalHost.attach(Re,te)}detach(){return this._portalHost.detach()}}let at=(()=>{class fe{constructor(){this._overlayContainer=(0,r.f3M)(pt),this._componentFactoryResolver=(0,r.f3M)(r._Vd),this._appRef=(0,r.f3M)(r.z2F),this._document=(0,r.f3M)(se.K0),this._paneElements=new Map}create(te,Te){return this._createOverlayRef(this.getPaneElement(te,Te))}getPaneElement(te="",Te){return this._paneElements.get(Te)||this._paneElements.set(Te,{}),this._paneElements.get(Te)[te]||(this._paneElements.get(Te)[te]=this._createPaneElement(te,Te)),this._paneElements.get(Te)[te]}_createPaneElement(te,Te){const Ge=this._document.createElement("div");return Ge.id="toast-container",Ge.classList.add(te),Ge.classList.add("toast-container"),Te?Te.getContainerElement().appendChild(Ge):this._overlayContainer.getContainerElement().appendChild(Ge),Ge}_createPortalHost(te){return new ut(te,this._componentFactoryResolver,this._appRef)}_createOverlayRef(te){return new At(this._createPortalHost(te))}}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275prov=r.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),Kt=(()=>{class fe{constructor(te,Te,Ge,qt,et){this.overlay=Te,this._injector=Ge,this.sanitizer=qt,this.ngZone=et,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig={...te.default,...te.config},te.config.iconClasses&&(this.toastrConfig.iconClasses={...te.default.iconClasses,...te.config.iconClasses})}show(te,Te,Ge={},qt=""){return this._preBuildNotification(qt,te,Te,this.applyConfig(Ge))}success(te,Te,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",te,Te,this.applyConfig(Ge))}error(te,Te,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",te,Te,this.applyConfig(Ge))}info(te,Te,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",te,Te,this.applyConfig(Ge))}warning(te,Te,Ge={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",te,Te,this.applyConfig(Ge))}clear(te){for(const Te of this.toasts)if(void 0!==te){if(Te.toastId===te)return void Te.toastRef.manualClose()}else Te.toastRef.manualClose()}remove(te){const Te=this._findToast(te);if(!Te||(Te.activeToast.toastRef.close(),this.toasts.splice(Te.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(te,Te,Ge,qt)):this._buildNotification(te,Te,Ge,qt)}_buildNotification(te,Te,Ge,qt){if(!qt.toastComponent)throw new Error("toastComponent required");const et=this.findDuplicate(Ge,Te,this.toastrConfig.resetTimeoutOnDuplicate&&qt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&Ge||Te)&&this.toastrConfig.preventDuplicates&&null!==et)return et;this.previousToastMessage=Te;let fn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(fn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const gt=this.overlay.create(qt.positionClass,this.overlayContainer);this.index=this.index+1;let Qt=Te;Te&&qt.enableHtml&&(Qt=this.sanitizer.sanitize(r.q3G.HTML,Te));const jt=new ce(gt),Cn=new Ie(this.index,qt,Qt,Ge,te,jt),Me=r.zs3.create({providers:[{provide:Ie,useValue:Cn}],parent:this._injector}),J=new Mt(qt.toastComponent,Me),oe=gt.attach(J,qt.newestOnTop);jt.componentInstance=oe.instance;const Ne={toastId:this.index,title:Ge||"",message:Te||"",toastRef:jt,onShown:jt.afterActivate(),onHidden:jt.afterClosed(),onTap:Cn.onTap(),onAction:Cn.onAction(),portal:oe};return fn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Ne.toastRef.activate()})),this.toasts.push(Ne),Ne}}return fe.\u0275fac=function(te){return new(te||fe)(r.LFG(_t),r.LFG(at),r.LFG(r.zs3),r.LFG(ve.H7),r.LFG(r.R0b))},fe.\u0275prov=r.Yz7({token:fe,factory:fe.\u0275fac,providedIn:"root"}),fe})(),st=(()=>{class fe{get displayStyle(){if("inactive"===this.state.value)return"none"}constructor(te,Te,Ge){this.toastrService=te,this.toastPackage=Te,this.ngZone=Ge,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Te.message,this.title=Te.title,this.options=Te.config,this.originalTimeout=Te.config.timeOut,this.toastClasses=`${Te.toastType} ${Te.config.toastClass}`,this.sub=Te.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Te.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Te.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Te.toastRef.countDuplicate().subscribe(qt=>{this.duplicatesCount=qt})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const te=(new Date).getTime();this.width=(this.hideTime-te)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(te,Te){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(te),Te)):this.timeout=setTimeout(()=>te(),Te)}outsideInterval(te,Te){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(te),Te)):this.intervalId=setInterval(()=>te(),Te)}runInsideAngular(te){this.ngZone?this.ngZone.run(()=>te()):te()}}return fe.\u0275fac=function(te){return new(te||fe)(r.Y36(Kt),r.Y36(Ie),r.Y36(r.R0b))},fe.\u0275cmp=r.Xpm({type:fe,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(te,Te){1&te&&r.NdJ("click",function(){return Te.tapToast()})("mouseenter",function(){return Te.stickAround()})("mouseleave",function(){return Te.delayedHideToast()}),2&te&&(r.d8E("@flyInOut",Te.state),r.Tol(Te.toastClasses),r.Udp("display",Te.displayStyle))},standalone:!0,features:[r.jDz],attrs:Oe,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(te,Te){1&te&&(r.YNc(0,Pe,3,0,"button",0),r.YNc(1,ke,3,5,"div",1),r.YNc(2,ae,1,3,"div",2),r.YNc(3,we,2,4,"div",3),r.YNc(4,xe,2,2,"div",4)),2&te&&(r.Q6J("ngIf",Te.options.closeButton),r.xp6(1),r.Q6J("ngIf",Te.title),r.xp6(1),r.Q6J("ngIf",Te.message&&Te.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Te.message&&!Te.options.enableHtml),r.xp6(1),r.Q6J("ngIf",Te.options.progressBar))},dependencies:[se.O5],encapsulation:2,data:{animation:[(0,L.X$)("flyInOut",[(0,L.SB)("inactive",(0,L.oB)({opacity:0})),(0,L.SB)("active",(0,L.oB)({opacity:1})),(0,L.SB)("removed",(0,L.oB)({opacity:0})),(0,L.eR)("inactive => active",(0,L.jt)("{{ easeTime }}ms {{ easing }}")),(0,L.eR)("active => removed",(0,L.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),fe})();const Jt={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:st},hn=(fe={})=>(0,r.MR2)([{provide:_t,useValue:{default:Jt,config:fe}}]);let tn=(()=>{class fe{static forRoot(te={}){return{ngModule:fe,providers:[hn(te)]}}}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275mod=r.oAB({type:fe}),fe.\u0275inj=r.cJS({imports:[st]}),fe})()},7582:(kt,$e,V)=>{"use strict";function xe(He,Fe,ze,fe){return new(ze||(ze=Promise))(function(te,Te){function Ge(fn){try{et(fe.next(fn))}catch(gt){Te(gt)}}function qt(fn){try{et(fe.throw(fn))}catch(gt){Te(gt)}}function et(fn){fn.done?te(fn.value):function Re(te){return te instanceof ze?te:new ze(function(Te){Te(te)})}(fn.value).then(Ge,qt)}et((fe=fe.apply(He,Fe||[])).next())})}function me(He){return this instanceof me?(this.v=He,this):new me(He)}function ce(He,Fe,ze){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Re,fe=ze.apply(He,Fe||[]),te=[];return Re={},Te("next"),Te("throw"),Te("return"),Re[Symbol.asyncIterator]=function(){return this},Re;function Te(Qt){fe[Qt]&&(Re[Qt]=function(jt){return new Promise(function(Cn,Xt){te.push([Qt,jt,Cn,Xt])>1||Ge(Qt,jt)})})}function Ge(Qt,jt){try{!function qt(Qt){Qt.value instanceof me?Promise.resolve(Qt.value.v).then(et,fn):gt(te[0][2],Qt)}(fe[Qt](jt))}catch(Cn){gt(te[0][3],Cn)}}function et(Qt){Ge("next",Qt)}function fn(Qt){Ge("throw",Qt)}function gt(Qt,jt){Qt(jt),te.shift(),te.length&&Ge(te[0][0],te[0][1])}}function mt(He){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ze,Fe=He[Symbol.asyncIterator];return Fe?Fe.call(He):(He=function Ae(He){var Fe="function"==typeof Symbol&&Symbol.iterator,ze=Fe&&He[Fe],fe=0;if(ze)return ze.call(He);if(He&&"number"==typeof He.length)return{next:function(){return He&&fe>=He.length&&(He=void 0),{value:He&&He[fe++],done:!He}}};throw new TypeError(Fe?"Object is not iterable.":"Symbol.iterator is not defined.")}(He),ze={},fe("next"),fe("throw"),fe("return"),ze[Symbol.asyncIterator]=function(){return this},ze);function fe(te){ze[te]=He[te]&&function(Te){return new Promise(function(Ge,qt){!function Re(te,Te,Ge,qt){Promise.resolve(qt).then(function(et){te({value:et,done:Ge})},Te)}(Ge,qt,(Te=He[te](Te)).done,Te.value)})}}}V.d($e,{FC:()=>ce,KL:()=>mt,mG:()=>xe,qq:()=>me}),"function"==typeof SuppressedError&&SuppressedError}},kt=>{var $e=r=>kt(kt.s=r);$e(1321),$e(2931)}]);